X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Flogfile.h;h=cb0527db46a933f23125c60008c9d1c9aaf9b174;hb=1005f23c4fa108f82c8c57bef4b86fa0a5022a16;hp=22fb5f6fe9c00e18674d8021c7747cb8f21c42c6;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/server-src/logfile.h b/server-src/logfile.h index 22fb5f6..cb0527d 100644 --- a/server-src/logfile.h +++ b/server-src/logfile.h @@ -56,9 +56,9 @@ typedef enum logtype_e { typedef enum program_e { P_UNKNOWN, P_PLANNER, P_DRIVER, P_REPORTER, P_DUMPER, P_CHUNKER, - P_TAPER, P_AMFLUSH + P_TAPER, P_AMFLUSH, P_AMDUMP, P_AMIDXTAPED, P_AMFETCHDUMP, P_AMCHECKDUMP, } program_t; -#define P_LAST P_AMFLUSH +#define P_LAST P_AMCHECKDUMP extern char *logtype_str[]; @@ -68,7 +68,7 @@ extern program_t curprog; extern char *curstr; extern char *program_str[]; -void logerror(char *); +void amanda_log_trace_log(GLogLevelFlags log_level, const gchar *message); void log_add(logtype_t typ, char * format, ...) G_GNUC_PRINTF(2, 3); char* log_genstring(logtype_t typ, char *pname, char * format, ...) G_GNUC_PRINTF(3, 4);