#include "ekg2-config.h"#include <stdlib.h>#include <string.h>#include "dynstuff.h"#include "dynstuff_inline.h"#include "userlist.h"#include "xmalloc.h"Definicje | |
| #define | _XOPEN_SOURCE 600 |
| #define | __EXTENSIONS__ |
Funkcje | |
| static int | group_compare (struct ekg_group *data1, struct ekg_group *data2) |
| static | LIST_FREE_ITEM (group_item_free, struct ekg_group *) |
| DYNSTUFF_LIST_DECLARE_SORTED (ekg_groups, struct ekg_group, group_compare, group_item_free, static __DYNSTUFF_ADD_SORTED, __DYNSTUFF_NOREMOVE, static __DYNSTUFF_DESTROY) static int userlist_compare(userlist_t *data1 | |
| EXPORTNOT userlist_t * | remote_userlist_add_entry (userlist_t **userlist, char **__entry, int count) |
| EXPORTNOT void | userlist_free (session_t *session) |
| EXPORTNOT int | userlist_remove (session_t *session, userlist_t *u) |
| userlist_t * | userlist_find (session_t *session, const char *uid) |
| char * | get_uid (session_t *session, const char *text) |
| int | ignored_check (session_t *session, const char *uid) |
| int | ekg_group_member (userlist_t *u, const char *group) |
| static char ** | array_make_groups (const char *string) |
| static struct ekg_group * | group_init (const char *names) |
Zmienne | |
| struct ignore_label | ignore_labels [] |
| #define __EXTENSIONS__ |
| #define _XOPEN_SOURCE 600 |
| static char** array_make_groups | ( | const char * | string | ) | [static] |
| DYNSTUFF_LIST_DECLARE_SORTED | ( | ekg_groups | , | |
| struct ekg_group | , | |||
| group_compare | , | |||
| group_item_free | , | |||
| static | __DYNSTUFF_ADD_SORTED, | |||
| __DYNSTUFF_NOREMOVE | , | |||
| static | __DYNSTUFF_DESTROY | |||
| ) |
| int ekg_group_member | ( | userlist_t * | u, | |
| const char * | group | |||
| ) |
| char* get_uid | ( | session_t * | session, | |
| const char * | text | |||
| ) |
| static struct ekg_group* group_init | ( | const char * | names | ) | [static, read] |
| int ignored_check | ( | session_t * | session, | |
| const char * | uid | |||
| ) |
| static LIST_FREE_ITEM | ( | group_item_free | , | |
| struct ekg_group * | ||||
| ) | [static] |
| EXPORTNOT userlist_t* remote_userlist_add_entry | ( | userlist_t ** | userlist, | |
| char ** | __entry, | |||
| int | count | |||
| ) |
| userlist_t* userlist_find | ( | session_t * | session, | |
| const char * | uid | |||
| ) |
| EXPORTNOT void userlist_free | ( | session_t * | session | ) |
| EXPORTNOT int userlist_remove | ( | session_t * | session, | |
| userlist_t * | u | |||
| ) |
| struct ignore_label ignore_labels[] |
{
{ IGNORE_STATUS, "status" },
{ IGNORE_STATUS_DESCR, "descr" },
{ IGNORE_NOTIFY, "notify" },
{ IGNORE_MSG, "msg" },
{ IGNORE_DCC, "dcc" },
{ IGNORE_EVENTS, "events" },
{ IGNORE_XOSD, "xosd" },
{ IGNORE_LOG, "log" },
{ 0, NULL }
}
1.7.1