|
libmsngr
1.1
|
Messanger Functions. More...
Go to the source code of this file.
Functions | |
| int | msngr_init_log (const char *path, const char *name, int flags, size_t errlen, char *errstr) |
| Initialize the log file. | |
| int | msngr_init_mail (MessageType type, const char *from, const char *to, const char *cc, const char *subject, int flags, size_t errlen, char *errstr) |
| Initialize a mail message. | |
| int | msngr_init_provenance (const char *path, const char *name, int flags, size_t errlen, char *errstr) |
| Initialize the provenance log. | |
| void | msngr_finish (void) |
| Finish all messenger processes. | |
| void | msngr_finish_log (void) |
| Finish and close the log file. | |
| void | msngr_finish_mail (MessageType type) |
| Finish and send a mail message. | |
| void | msngr_finish_provenance (void) |
| Finish and close the provenance log file. | |
| void | msngr_flush_log_error (void) |
| Flush the log error message. | |
| void | msngr_flush_mail_errors (void) |
| Flush all mail error messages. | |
| void | msngr_flush_provenance_error (void) |
| Flush the provenance log error message. | |
| void | msngr_send (const char *sender, const char *func, const char *file, int line, MessageType type, const char *format,...) |
| Message handling function. | |
| void | msngr_vsend (const char *sender, const char *func, const char *file, int line, MessageType type, const char *format, va_list args) |
| Message handling function. | |
| int | msngr_set_debug_level (int level) |
| Set the debug level. | |
| int | msngr_set_provenance_level (int level) |
| Set the provenance level. | |
| LogFile * | msngr_get_log_file (void) |
| Get the LogFile structure used by the messengr functions. | |
| Mail * | msngr_get_mail (MessageType type) |
| Get a Mail structure used by the messengr functions. | |
Variables | |
| int | msngr_debug_level = 0 |
| External variable containing the debug level. | |
| int | msngr_provenance_level = 0 |
| External variable containing the provenance level. | |
Messanger Functions.
Definition in file msngr.c.
| int msngr_debug_level = 0 |