|
ekg2
GIT master
|
#include "ekg2.h"#include <glib/gstdio.h>#include <sys/types.h>#include <sys/stat.h>#include <dirent.h>#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>
Funkcje | |
| static void | list_msg_queue_free (msg_queue_t *data) |
| void | msgs_queue_add (msg_queue_t *new_) |
| msg_queue_t * | msgs_queue_removei (msg_queue_t *elem) |
| void | msgs_queue_destroy (void) |
| int | msg_queue_add (const char *session, const char *rcpts, const char *message, const char *seq, msgclass_t mclass) |
| int | msg_queue_remove_uid (const char *uid) |
| int | msg_queue_remove_seq (const char *seq) |
| int | msg_queue_flush (const char *session) |
| int | msg_queue_count_session (const char *uid) |
| int | msg_queue_write () |
| int | msg_queue_read () |
Zmienne | |
| msg_queue_t * | msgs_queue = NULL |
|
static |
| int msg_queue_add | ( | const char * | session, |
| const char * | rcpts, | ||
| const char * | message, | ||
| const char * | seq, | ||
| msgclass_t | mclass | ||
| ) |
| int msg_queue_count_session | ( | const char * | uid | ) |
| int msg_queue_flush | ( | const char * | session | ) |
| int msg_queue_read | ( | ) |
Read msgqueue of not sended messages.
msgqueue is subdir ("queue") in ekg2 config directory.
| int msg_queue_remove_seq | ( | const char * | seq | ) |
| int msg_queue_remove_uid | ( | const char * | uid | ) |
| int msg_queue_write | ( | ) |
| void msgs_queue_add | ( | msg_queue_t * | new_ | ) |
| void msgs_queue_destroy | ( | void | ) |
| msg_queue_t* msgs_queue_removei | ( | msg_queue_t * | elem | ) |
| msg_queue_t* msgs_queue = NULL |
1.8.13