Cria dicionĂ¡rio de totais.
[cascardo/declara.git] / rendimento.h
index 5ac417d..2f96a2d 100644 (file)
@@ -19,6 +19,7 @@
 #ifndef _RENDIMENTO_H
 #define _RENDIMENTO_H
 
+#include <stdio.h>
 #include "declaracao.h"
 
 struct rendimento {
@@ -28,12 +29,15 @@ struct rendimento {
        long long previdencia;
        long long decimoterceiro;
        long long imposto;
+       long long imposto_13o;
        char *saida;
 };
 
-void rendimento_dump(struct declaracao *dec);
+void rendimento_salva(struct declaracao *dec, FILE *f);
 void rendimento_free(void *pointer);
 
 int rendimento_cmd_init(void);
 
+char * rendimento_cnpj_ordenado(struct declaracao *dec, int i);
+
 #endif