#include <stdio.h>
Idź do kodu źródłowego tego pliku.
|
#define | IRSSI_LOG_EKG2_OPENED "--- Log opened %a %b %d %H:%M:%S %Y" /* defaultowy log_open_string irssi , jak cos to dodac zmienna... */ |
|
#define | IRSSI_LOG_EKG2_CLOSED "--- Log closed %a %b %d %H:%M:%S %Y" /* defaultowy log_close_string irssi, jak cos to dodac zmienna... */ |
|
#define | IRSSI_LOG_DAY_CHANGED "--- Day changed %a %b %d %Y" /* defaultowy log_day_changed irssi , jak cos to dodac zmienna... */ |
|
|
static char * | logs_prepare_path (session_t *session, const char *logs_path, const char *uid, time_t sent) |
|
static const char * | prepare_timestamp_format (const char *format, time_t t) |
|
static logs_log_t * | logs_log_find (const char *session, const char *uid, int create) |
|
static logs_log_t * | logs_log_new (logs_log_t *l, const char *session, const char *uid) |
|
static FILE * | logs_open_file (char *path, int ff) |
|
static void | logs_simple (FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class, const char *status) |
|
static void | logs_xml (FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class) |
|
static void | logs_irssi (FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class) |
|
◆ IRSSI_LOG_DAY_CHANGED
#define IRSSI_LOG_DAY_CHANGED "--- Day changed %a %b %d %Y" /* defaultowy log_day_changed irssi , jak cos to dodac zmienna... */ |
◆ IRSSI_LOG_EKG2_CLOSED
#define IRSSI_LOG_EKG2_CLOSED "--- Log closed %a %b %d %H:%M:%S %Y" /* defaultowy log_close_string irssi, jak cos to dodac zmienna... */ |
◆ IRSSI_LOG_EKG2_OPENED
#define IRSSI_LOG_EKG2_OPENED "--- Log opened %a %b %d %H:%M:%S %Y" /* defaultowy log_open_string irssi , jak cos to dodac zmienna... */ |
◆ log_format_t
Wartości wyliczeń |
---|
LOG_FORMAT_NONE | |
LOG_FORMAT_SIMPLE | |
LOG_FORMAT_XML | |
LOG_FORMAT_IRSSI | |
LOG_FORMAT_RAW | |
◆ logs_irssi()
static void logs_irssi |
( |
FILE * |
file, |
|
|
const char * |
session, |
|
|
const char * |
uid, |
|
|
const char * |
text, |
|
|
time_t |
sent, |
|
|
msgclass_t |
class |
|
) |
| |
|
static |
◆ logs_log_find()
static logs_log_t* logs_log_find |
( |
const char * |
session, |
|
|
const char * |
uid, |
|
|
int |
create |
|
) |
| |
|
static |
◆ logs_log_new()
◆ logs_open_file()
static FILE* logs_open_file |
( |
char * |
path, |
|
|
int |
ff |
|
) |
| |
|
static |
◆ logs_prepare_path()
static char* logs_prepare_path |
( |
session_t * |
session, |
|
|
const char * |
logs_path, |
|
|
const char * |
uid, |
|
|
time_t |
sent |
|
) |
| |
|
static |
◆ logs_simple()
static void logs_simple |
( |
FILE * |
file, |
|
|
const char * |
session, |
|
|
const char * |
uid, |
|
|
const char * |
text, |
|
|
time_t |
sent, |
|
|
msgclass_t |
class, |
|
|
const char * |
status |
|
) |
| |
|
static |
◆ logs_xml()
static void logs_xml |
( |
FILE * |
file, |
|
|
const char * |
session, |
|
|
const char * |
uid, |
|
|
const char * |
text, |
|
|
time_t |
sent, |
|
|
msgclass_t |
class |
|
) |
| |
|
static |
◆ prepare_timestamp_format()
static const char* prepare_timestamp_format |
( |
const char * |
format, |
|
|
time_t |
t |
|
) |
| |
|
static |
◆ config_logs_encoding
gchar* config_logs_encoding |
|
static |
◆ config_logs_log
◆ config_logs_log_ignored
int config_logs_log_ignored |
|
static |
◆ config_logs_log_raw
◆ config_logs_log_status
int config_logs_log_status |
|
static |
◆ config_logs_max_files
int config_logs_max_files = 7 |
|
static |
◆ config_logs_path
◆ config_logs_remind_number
int config_logs_remind_number = 0 |
|
static |
◆ config_logs_timestamp
char* config_logs_timestamp |
|
static |
◆ log_logs