enum {
SIMPLES,
COMPLETA,
+ FORCA_SIMPLES,
+ FORCA_COMPLETA,
};
struct declaracao {
char *cpf;
char *nome;
struct list *rendimento;
+ struct list *carne;
struct list *isentos;
struct list *pagamentos;
struct list *bens;
long long devido;
long long pagar;
long long restituicao;
+ long long aliquota_efetiva;
int obrigatoria;
int tipo;
char *recibo;
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