#include <sys/types.h>#include <sys/time.h>#include <time.h>#include <ctype.h>#include <stdarg.h>#include <stdio.h>#include "plugins.h"#include "sessions.h"Idź do kodu źródłowego tego pliku.
Struktury danych | |
| struct | binding |
| struct | binding_added |
| struct | timer |
Definicje | |
| #define | BINDING_FUNCTION(x) void x(const char *arg) |
| #define | TIMER(x) int x(int type, void *data) |
| #define | xisxdigit(c) isxdigit((int) (unsigned char) c) |
| #define | xisdigit(c) isdigit((int) (unsigned char) c) |
| #define | xisalpha(c) isalpha_pl((int) (unsigned char) c) |
| #define | xisalnum(c) isalnum((int) (unsigned char) c) |
| #define | xisspace(c) isspace((int) (unsigned char) c) |
| #define | xtolower(c) tolower((int) (unsigned char) c) |
| #define | xtoupper(c) toupper((int) (unsigned char) c) |
Definicje typów | |
| typedef struct binding_added | binding_added_t |
Funkcje | |
| void | binding_free () |
| void | changed_theme (const char *var) |
| const char * | compile_time () |
| void | iso_to_ascii (unsigned char *buf) |
| char * | saprintf (const char *format,...) |
| const char * | timestamp (const char *format) |
| const char * | timestamp_time (const char *format, time_t t) |
| int | isalpha_pl (unsigned char c) |
| 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_ms (plugin_t *plugin, const char *name, unsigned int period, int persist, int(*function)(int, void *), void *data) |
| int | timer_remove (plugin_t *plugin, const char *name) |
| struct timer * | timers_removei (struct timer *t) |
| void | timers_destroy () |
| const char * | ekg_status_string (const int status, const int cmd) |
| void | ekg_exit () |
| void | ekg_debug_handler (int level, const char *format, va_list ap) |
| int | ekg_write (int fd, const char *buf, int len) |
| int | remote_request (char *what,...) |
Zmienne | |
| char * | config_console_charset |
| char * | server_console_charset |
| int | config_use_unicode |
| int | config_use_iso |
| struct binding * | bindings |
| struct timer * | timers |
| binding_added_t * | bindings_added |
| int | config_debug |
| int | config_display_welcome |
| int | config_query_commands |
| int | config_slash_messages |
| int | config_display_color |
| int | config_display_pl_chars |
| int | config_display_crap |
| int | config_default_status_window |
| char * | config_timestamp |
| int | config_timestamp_show |
| int | config_history_savedups |
| int | config_make_window |
| int | config_sort_windows |
| int | config_send_white_lines |
| char * | config_tab_command |
| int | config_save_quit |
| int | config_lastlog_noitems |
| int | config_lastlog_case |
| int | config_lastlog_display_all |
| char * | config_completion_char |
| int | config_changed |
| int | no_mouse |
| int | old_stderr |
| int | in_autoexec |
| #define BINDING_FUNCTION | ( | x | ) | void x(const char *arg) |
| #define TIMER | ( | x | ) | int x(int type, void *data) |
| #define xisalnum | ( | c | ) | isalnum((int) (unsigned char) c) |
| #define xisalpha | ( | c | ) | isalpha_pl((int) (unsigned char) c) |
| #define xisdigit | ( | c | ) | isdigit((int) (unsigned char) c) |
| #define xisspace | ( | c | ) | isspace((int) (unsigned char) c) |
| #define xisxdigit | ( | c | ) | isxdigit((int) (unsigned char) c) |
| #define xtolower | ( | c | ) | tolower((int) (unsigned char) c) |
| #define xtoupper | ( | c | ) | toupper((int) (unsigned char) c) |
| typedef struct binding_added binding_added_t |
| void binding_free | ( | ) |
Free memory allocated for key bindings.
| void changed_theme | ( | const char * | var | ) |
| const char* compile_time | ( | ) |
| void ekg_debug_handler | ( | int | level, | |
| const char * | format, | |||
| va_list | ap | |||
| ) |
debug message [if config_debug set] coming direct from libgadu (by libgadu_debug_handler()) or by debug() or by debug_ext()
XXX, doc more. But function now is ok.
| level | ||
| format | ||
| ap |
| void ekg_exit | ( | ) |
| const char* ekg_status_string | ( | const int | status, | |
| const int | cmd | |||
| ) |
| int ekg_write | ( | int | fd, | |
| const char * | buf, | |||
| int | len | |||
| ) |
write data to given fd, if it cannot be done [because system buffer is too small. it'll create watch, and write as soon as possible] XXX, for now it'll always create watch. (You can be notified about state of buffer when you call ekg_write(fd, NULL, -1))
| int isalpha_pl | ( | unsigned char | c | ) |
| void iso_to_ascii | ( | unsigned char * | buf | ) |
| int remote_request | ( | char * | what, | |
| ... | ||||
| ) |
| char* saprintf | ( | const char * | format, | |
| ... | ||||
| ) |
| struct timer* timer_add | ( | plugin_t * | plugin, | |
| const char * | name, | |||
| unsigned int | period, | |||
| int | persist, | |||
| int(*)(int, void *) | function, | |||
| void * | data | |||
| ) | [read] |
| struct timer* timer_add_ms | ( | plugin_t * | plugin, | |
| const char * | name, | |||
| unsigned int | period, | |||
| int | persist, | |||
| int(*)(int, void *) | function, | |||
| void * | data | |||
| ) | [read] |
| int timer_remove | ( | plugin_t * | plugin, | |
| const char * | name | |||
| ) |
| void timers_destroy | ( | ) |
| const char* timestamp | ( | const char * | format | ) |
| const char* timestamp_time | ( | const char * | format, | |
| time_t | t | |||
| ) |
| int config_changed |
| char* config_completion_char |
| char* config_console_charset |
| int config_debug |
| int config_save_quit |
| char* config_tab_command |
| char* config_timestamp |
| int config_use_iso |
| int in_autoexec |
| int no_mouse |
| int old_stderr |
| char* server_console_charset |
1.7.1