#include "ekg2-config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "debug.h"
#include "dynstuff.h"
#include "sessions.h"
#include "themes.h"
#include "stuff.h"
#include "userlist.h"
#include "xmalloc.h"
#include "dynstuff_inline.h"
#include "metacontacts.h"
#include "queries.h"
Funkcje | |
static int | metacontact_add_item_compare (metacontact_item_t *data1, metacontact_item_t *data2) |
static | LIST_FREE_ITEM (metacontact_item_free, metacontact_item_t *) |
DYNSTUFF_LIST_DECLARE_SORTED (metacontact_items, metacontact_item_t, metacontact_add_item_compare, metacontact_item_free, static __DYNSTUFF_ADD_SORTED, static __DYNSTUFF_REMOVE_SAFE, static __DYNSTUFF_DESTROY) static int metacontact_add_compare(metacontact_t *data1 | |
static int | metacontact_remove_item (metacontact_t *m, const char *session, const char *name, int quiet) |
static int | metacontact_remove (const char *name) |
int | cmd_metacontact (const char *name, const char **params, session_t *session, const char *target, int quiet) |
metacontact_t * | metacontact_find (const char *name) |
metacontact_t * | metacontact_add (const char *name) |
static metacontact_item_t * | metacontact_find_item (metacontact_t *m, const char *name, const char *uid) |
static int | metacontact_add_item (metacontact_t *m, const char *session, const char *name, unsigned int prio, int quiet) |
static int | metacontact_session_renamed_handler (void *data, va_list ap) |
static int | metacontact_userlist_removed_handler (void *data, va_list ap) |
metacontact_item_t * | metacontact_find_prio (metacontact_t *m) |
void | metacontact_init () |
int | metacontact_write () |
int | metacontact_read () |
Zmienne | |
metacontact_t * | metacontacts = NULL |
int cmd_metacontact | ( | const char * | name, | |
const char ** | params, | |||
session_t * | session, | |||
const char * | target, | |||
int | quiet | |||
) |
DYNSTUFF_LIST_DECLARE_SORTED | ( | metacontact_items | , | |
metacontact_item_t | , | |||
metacontact_add_item_compare | , | |||
metacontact_item_free | , | |||
static | __DYNSTUFF_ADD_SORTED, | |||
static | __DYNSTUFF_REMOVE_SAFE, | |||
static | __DYNSTUFF_DESTROY | |||
) |
static LIST_FREE_ITEM | ( | metacontact_item_free | , | |
metacontact_item_t * | ||||
) | [static] |
metacontact_t* metacontact_add | ( | const char * | name | ) |
static int metacontact_add_item | ( | metacontact_t * | m, | |
const char * | session, | |||
const char * | name, | |||
unsigned int | prio, | |||
int | quiet | |||
) | [static] |
static int metacontact_add_item_compare | ( | metacontact_item_t * | data1, | |
metacontact_item_t * | data2 | |||
) | [static] |
metacontact_t* metacontact_find | ( | const char * | name | ) |
static metacontact_item_t* metacontact_find_item | ( | metacontact_t * | m, | |
const char * | name, | |||
const char * | uid | |||
) | [static] |
metacontact_item_t* metacontact_find_prio | ( | metacontact_t * | m | ) |
void metacontact_init | ( | ) |
int metacontact_read | ( | ) |
static int metacontact_remove | ( | const char * | name | ) | [static] |
static int metacontact_remove_item | ( | metacontact_t * | m, | |
const char * | session, | |||
const char * | name, | |||
int | quiet | |||
) | [static] |
static int metacontact_session_renamed_handler | ( | void * | data, | |
va_list | ap | |||
) | [static] |
static int metacontact_userlist_removed_handler | ( | void * | data, | |
va_list | ap | |||
) | [static] |
int metacontact_write | ( | ) |
metacontact_t* metacontacts = NULL |