|
static | LIST_FREE_ITEM (child_free_item, child_t *) |
|
| DYNSTUFF_LIST_DECLARE (children, child_t, child_free_item, static __DYNSTUFF_LIST_ADD, __DYNSTUFF_LIST_REMOVE_ITER, __DYNSTUFF_LIST_DESTROY) alias_t *aliases |
|
static | LIST_FREE_ITEM (timer_free_item, struct timer *) |
|
| DYNSTUFF_LIST_DECLARE2 (timers, struct timer, timer_free_item, static __DYNSTUFF_LIST_ADD, __DYNSTUFF_LIST_REMOVE_SAFE, __DYNSTUFF_LIST_REMOVE_ITER, __DYNSTUFF_LIST_DESTROY) struct conference *conferences |
|
void | windows_save () |
|
static | LIST_FREE_ITEM (list_alias_free, alias_t *) |
|
| DYNSTUFF_LIST_DECLARE (aliases, alias_t, list_alias_free, static __DYNSTUFF_LIST_ADD, static __DYNSTUFF_LIST_REMOVE_ITER, __DYNSTUFF_LIST_DESTROY) int alias_add(const char *string |
|
| if (!string||!cmd=xstrchr(string, ' ')) |
|
| if ((tmp=xstrchr(aname, ' '))) |
|
| xfree (aname) |
|
list_add | xstrdup (cmd)) |
|
| aliases_add (a) |
|
| command_add (NULL, a->name, array, cmd_alias_exec, COMMAND_ISALIAS, NULL) |
|
| xfree (array) |
|
| printq ("aliases_add", a->name,("")) |
|
int | alias_remove (const char *name, int quiet) |
|
static | LIST_FREE_ITEM (list_buffer_free, struct buffer *) |
|
static | __DYNSTUFF_ADD (static __DYNSTUFF_REMOVE_ITER(buffers, static __DYNSTUFF_REMOVE_ITER(struct buffer, NULL) |
|
int | buffer_add (struct buffer_info *type, const char *target, const char *line) |
|
int | buffer_add_str (struct buffer_info *type, const char *target, const char *str) |
|
char * | buffer_tail (struct buffer_info *type) |
|
void | buffer_free (struct buffer_info *type) |
|
void | changed_make_window (const char *var) |
|
void | changed_mesg (const char *var) |
|
void | changed_auto_save (const char *var) |
|
void | changed_display_blinking (const char *var) |
|
void | changed_theme (const char *var) |
|
const char * | compile_time () |
|
static | LIST_FREE_ITEM (newconference_free_item, newconference_t *) |
|
| DYNSTUFF_LIST_DECLARE (newconferences, newconference_t, newconference_free_item, static __DYNSTUFF_LIST_ADD, static __DYNSTUFF_LIST_REMOVE_SAFE, __DYNSTUFF_LIST_DESTROY) userlist_t *newconference_member_find(newconference_t *conf |
|
| if (!conf||!uid) return NULL |
|
| for (ul=conf->participants;ul;ul=ul->next) |
|
userlist_t * | newconference_member_add (newconference_t *conf, const char *uid, const char *nick) |
|
int | newconference_member_remove (newconference_t *conf, userlist_t *u) |
|
newconference_t * | newconference_find (session_t *s, const char *name) |
|
newconference_t * | newconference_create (session_t *s, const char *name, int create_wnd) |
|
void | newconference_destroy (newconference_t *conf, int kill_wnd) |
|
static | LIST_FREE_ITEM (conference_free_item, struct conference *) |
|
| DYNSTUFF_LIST_DECLARE (conferences, struct conference, conference_free_item, static __DYNSTUFF_LIST_ADD, static __DYNSTUFF_LIST_REMOVE_ITER, __DYNSTUFF_LIST_DESTROY) struct conference *conference_add(session_t *session |
|
| if (!name||!nicklist) return NULL |
|
| if (nicklist[0]== ','||nicklist[xstrlen(nicklist)-1]== ',') |
|
| for (i=0;nicks[i];i++) |
|
| for (cf=conferences;cf;cf=cf->next) |
|
memset & | c (c) |
|
| for (p=nicks, i=0;*p;p++) |
|
| array_free (nicks) |
|
| if (i!=count) |
|
| printq ("conferences_add", name) |
|
| tabnick_add (name) |
|
| conferences_add (cf) |
|
int | conference_remove (const char *name, int quiet) |
|
struct conference * | conference_create (session_t *session, const char *nicks) |
|
struct conference * | conference_find (const char *name) |
|
int | conference_participant (struct conference *c, const char *uid) |
|
struct conference * | conference_find_by_uids (session_t *s, const char *from, const char **recipients, int count, int quiet) |
|
int | conference_set_ignore (const char *name, int flag, int quiet) |
|
int | conference_rename (const char *oldname, const char *newname, int quiet) |
|
FILE * | help_path (char *name, char *plugin) |
|
int | ekg_hash (const char *name) |
|
int | mesg_set (int what) |
|
char * | strip_spaces (char *line) |
|
int | play_sound (const char *sound_path) |
|
child_t * | child_add (plugin_t *plugin, pid_t pid, const char *name, child_handler_t handler, void *priv_data) |
|
int | mkdir_recursive (const char *pathname, int isdir) |
|
const char * | prepare_pathf (const char *filename,...) |
|
const char * | prepare_path (const char *filename, int do_mkdir) |
|
const char * | prepare_path_user (const char *path) |
|
static char * | random_line (const char *path) |
|
char * | read_file (FILE *f, int alloc) |
|
char * | read_file_iso (FILE *f, int alloc) |
|
const char * | timestamp (const char *format) |
|
const char * | timestamp_time (const char *format, time_t t) |
|
struct timer * | timer_add_ms (plugin_t *plugin, const char *name, unsigned int period, int persist, int(*function)(int, void *), void *data) |
|
struct timer * | timer_add (plugin_t *plugin, const char *name, unsigned int period, int persist, int(*function)(int, void *), void *data) |
|
struct timer * | timer_add_session (session_t *session, const char *name, unsigned int period, int persist, int(*function)(int, session_t *)) |
|
int | timer_remove (plugin_t *plugin, const char *name) |
|
struct timer * | timer_find_session (session_t *session, const char *name) |
|
int | timer_remove_session (session_t *session, const char *name) |
|
int | timer_handle_command (int type, void *data) |
|
int | timer_remove_user (int at) |
|
char * | xstrmid (const char *str, int start, int length) |
|
char | color_map (unsigned char r, unsigned char g, unsigned char b) |
|
int | isalpha_pl (unsigned char c) |
|
char * | strcasestr (const char *haystack, const char *needle) |
|
int | msg_all (session_t *s, const char *function, const char *what) |
|
int | say_it (const char *str) |
|
void | debug_ext (debug_level_t level, const char *format,...) |
|
void | debug (const char *format,...) |
|
char * | base64_encode (const char *buf, size_t len) |
|
char * | base64_decode (const char *buf) |
|
char * | split_line (char **ptr) |
|
const char * | ekg_status_label (const int status, const char *descr, const char *prefix) |
|
char * | ekg_draw_descr (const int status) |
|
void | ekg_update_status (session_t *session) |
|
static struct ekg_status_info * | status_find (const int status) |
|
const char * | ekg_status_string (const int status, const int cmd) |
|
int | ekg_status_int (const char *text) |
|
uint32_t * | ekg_sent_message_format (const char *text) |
|
static int | tolower_pl (const unsigned char c) |
|
size_t | strlen_pl (const char *s) |
|
char * | xstrncat_pl (char *dest, const char *src, size_t n) |
|
int | strncasecmp_pl (const char *cs, const char *ct, size_t count) |
|
char * | saprintf (const char *format,...) |
|
void | xstrtr (char *text, char from, char to) |
|
void | ekg_yield_cpu () |
|
int | ekg_write (int fd, const char *buf, int len) |
|
int | ekg_writef (int fd, const char *format,...) |
|
int | ekg_close (int fd) |
|
char * | password_input (const char *prompt, const char *rprompt, const bool norepeat) |
|
int | is_utf8_string (const char *txt) |
|
|
child_t * | children = NULL |
|
list_t | autofinds = NULL |
|
struct timer * | timers = NULL |
|
newconference_t * | newconferences = NULL |
|
struct buffer_info | buffer_debug = { NULL, 0, DEBUG_MAX_LINES } |
|
struct buffer_info | buffer_speech = { NULL, 0, 50 } |
|
int | old_stderr |
|
char * | config_subject_prefix |
|
char * | config_subject_reply_prefix |
|
int | in_autoexec = 0 |
|
int | config_auto_save = 0 |
|
int | config_auto_user_add = 0 |
|
time_t | last_save = 0 |
|
int | config_display_color = 1 |
|
int | config_beep = 1 |
|
int | config_beep_msg = 1 |
|
int | config_beep_chat = 1 |
|
int | config_beep_notify = 1 |
|
char * | config_console_charset |
|
char * | config_dcc_dir |
|
int | config_display_blinking = 1 |
|
int | config_events_delay = 3 |
|
int | config_expert_mode = 0 |
|
int | config_history_savedups = 1 |
|
char * | config_sound_msg_file = NULL |
|
char * | config_sound_chat_file = NULL |
|
char * | config_sound_notify_file = NULL |
|
char * | config_sound_sysmsg_file = NULL |
|
char * | config_sound_mail_file = NULL |
|
char * | config_sound_app = NULL |
|
int | config_use_unicode |
|
int | config_use_iso |
|
int | config_changed = 0 |
|
int | config_display_ack = 12 |
|
int | config_completion_notify = 1 |
|
char * | config_completion_char = NULL |
|
time_t | ekg_started = 0 |
|
int | config_display_notify = 1 |
|
char * | config_theme = NULL |
|
int | config_default_status_window = 0 |
|
char * | home_dir = NULL |
|
char * | config_quit_reason = NULL |
|
char * | config_away_reason = NULL |
|
char * | config_back_reason = NULL |
|
int | config_query_commands = 0 |
|
int | config_slash_messages = 0 |
|
int | quit_message_send = 0 |
|
int | batch_mode = 0 |
|
char * | batch_line = NULL |
|
int | config_make_window = 6 |
|
char * | config_tab_command = NULL |
|
int | config_save_password = 1 |
|
int | config_save_quit = 1 |
|
char * | config_timestamp = NULL |
|
int | config_timestamp_show = 1 |
|
int | config_display_sent = 1 |
|
int | config_send_white_lines = 0 |
|
int | config_sort_windows = 1 |
|
int | config_keep_reason = 1 |
|
char * | config_speech_app = NULL |
|
int | config_time_deviation = 300 |
|
int | config_mesg = MESG_DEFAULT |
|
int | config_display_welcome = 1 |
|
char * | config_display_color_map = NULL |
|
char * | config_session_default = NULL |
|
int | config_sessions_save = 0 |
|
int | config_window_session_allow = 0 |
|
int | config_windows_save = 0 |
|
char * | config_windows_layout = NULL |
|
char * | config_profile = NULL |
|
int | config_debug = 1 |
|
int | config_lastlog_noitems = 0 |
|
int | config_lastlog_case = 0 |
|
int | config_lastlog_display_all = 0 |
|
int | config_version = 0 |
|
char * | config_exit_exec = NULL |
|
int | config_session_locks = 0 |
|
char * | config_nickname = NULL |
|
char * | last_search_first_name = NULL |
|
char * | last_search_last_name = NULL |
|
char * | last_search_nickname = NULL |
|
char * | last_search_uid = 0 |
|
int | ekg2_reason_changed = 0 |
|
int | quiet |
|
int int | append |
|
command_t * | c |
|
alias_t * | a = xmalloc(sizeof(struct alias)) |
|
char ** | params = NULL |
|
char * | array = (params) ? array_join(params, (" ")) : xstrdup(("?")) |
|
int | i |
|
| aname = xstrdup((*cmd == '/') ? cmd + 1 : cmd) |
|
a | name = xstrdup(string) |
|
a | commands = NULL |
|
| return |
|
const char * | uid |
|
return | NULL |
|
const char const char * | nicklist |
|
char ** | nicks = array_make(nicklist, " ,", 0, 1, 0) |
|
int | count = array_count(nicks) |
|
char ** | p |
|
| cf = xmemdup(&c, sizeof(c)) |
|
struct color_map | color_map_default [26] |
|
static char | base64_charset [] |
|
struct ekg_status_info | ekg_statuses [] |
|