File: accountdbase.mli

package info (click to toggle)
misery 0.2-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 380 kB
  • ctags: 298
  • sloc: ml: 1,295; xml: 180; makefile: 94
file content (21 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(* Handling of all individual accounts within the current set of accounts. *)

open Account

module AccountsMap : Map.S with type key = string

val add_account : string -> account -> unit
val update_account : string -> account -> unit
val lookup_account : string -> string -> account
val lookup_account_nofail : string -> (account option)
val add_txn : string -> txn -> string -> unit
val add_txn_negated : string -> txn -> string -> unit
val add_global_txn : txn -> unit
val filter_and_fold_accounts :
  (account -> bool) -> ('a -> account -> 'a) -> 'a -> 'a
val sum_integer_variable : string -> int
val load_initial_files : unit -> unit
val lookup_creditor : string -> string -> string
val iter : (account -> unit) -> unit
val group : string -> account list AccountsMap.t