#include <sys/types.h>
#include <time.h>
#include "dynstuff.h"
#include "protocol.h"
Idź do kodu źródłowego tego pliku.
Dokumentacja definicji typów
Dokumentacja funkcji
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 |
) |
|
msg_queue_read()
Read msgqueue of not sended messages.
msgqueue is subdir ("queue") in ekg2 config directory.
- Do zrobienia:
- return count of readed messages?
- Do zrobienia:
- code which handle errors is awful and it need rewriting.
- Zwraca:
- -1 if fail to open msgqueue directory
0 on success.
int msg_queue_remove_seq |
( |
const char * |
seq |
) |
|
int msg_queue_remove_uid |
( |
const char * |
uid |
) |
|
void msgs_queue_destroy |
( |
|
) |
|
Dokumentacja zmiennych