X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fdeclaracao.h;h=0dc2c17deb6a9e340236186ffa244077ef7815af;hb=08a0c2e404f437c762c8b57ea62927dc29e14384;hp=ce318e60506eed0c17c46e6b0a857fa3884dbd1f;hpb=6c1c229c39002932d0f842f7b5662992c5466628;p=cascardo%2Fdeclara.git diff --git a/lib/declaracao.h b/lib/declaracao.h index ce318e6..0dc2c17 100644 --- a/lib/declaracao.h +++ b/lib/declaracao.h @@ -36,6 +36,7 @@ struct declaracao { char *cpf; char *nome; struct list *rendimento; + struct list *carne; struct list *isentos; struct list *pagamentos; struct list *bens; @@ -48,6 +49,7 @@ struct declaracao { long long devido; long long pagar; long long restituicao; + long long aliquota_efetiva; int obrigatoria; int tipo; char *recibo; @@ -60,9 +62,16 @@ struct declaracao { struct pmhash *totais; unsigned long hash; unsigned long rhash; + int verbose; + char *error; + void *ctx; }; struct declaracao * declaracao_new(int ano); void declaracao_free(struct declaracao *dec); +void dec_set_error(struct declaracao *dec, char *fmt, ...); + +void dec_cmd_init(void); + #endif