25 #ifndef __ZE_CALLBACKLOGS_H 33 #define WARN_MSG_SIZE 0x4000 46 #define LOG_SPAM_CHECK(id, ...) \ 48 if (log_level >= 9 && cf_get_int(CF_LOG_LEVEL_ORACLE) >= 2) \ 50 char sxa[256], sxb[256]; \ 51 snprintf(sxa, sizeof(sxa), "%s SPAM CHECK", id); \ 52 snprintf(sxb, sizeof(sxb), __VA_ARGS__); \ 53 j_syslog(LOG_NOTICE, "%s - %s", sxa, sxb); \ 57 #define LOG_ORACLE(id, ...) \ 59 if (log_level >= 9 && cf_get_int(CF_LOG_LEVEL_ORACLE) >= 1) \ 61 char sxa[256], sxb[256]; \ 62 snprintf(sxa, sizeof(sxa), "%s ORACLE", id); \ 63 snprintf(sxb, sizeof(sxb), __VA_ARGS__); \ 64 j_syslog(LOG_NOTICE, "%s - %s", sxa, sxb); \ 74 # define __ZE_CALLBACKLOGS_H 1
bool add_tag2subject(SMFICTX *, char *)
bool reopen_scores4stats_file()
sfsistat do_notify(SMFICTX *, attachment_T *, char *, char *, char *)
bool dump_msg_scores4stats(SMFICTX *ctx)
void log_msg_context(SMFICTX *ctx, char *why)
void read_error_msg(char *buf, int, attachment_T *, char *, char *, char *, char *, CTXPRIV_T *)
bool open_scores4stats_file()