|
ekg2
GIT master
|
#include "ekg2.h"#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include <stdarg.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/stat.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/un.h>
Struktury danych | |
| struct | rc_input_t |
| struct | remote_backlog_t |
| struct | remote_window_t |
Definicje | |
| #define | UI_VAR(name, defval) { name, defval, NULL, 0 } |
| #define | prev attr[i-1] |
| #define | cur attr[i] |
| #define | BGCOLOR(x) -1 |
| #define | FGCOLOR(x) ((!(x & FSTR_NORMAL)) ? (x & FSTR_FOREMASK) : -1) |
| #define | fix(x) ((x) ? x : "") |
| #define | config_backlog_size -1 |
Wyliczenia | |
| enum | rc_input_type_t { RC_INPUT_PIPE = 1, RC_INPUT_UDP, RC_INPUT_TCP, RC_INPUT_UNIX, RC_INPUT_TCP_CLIENT, RC_INPUT_UNIX_CLIENT, RC_INPUT_PIPE = 1, RC_INPUT_UDP, RC_INPUT_TCP, RC_INPUT_UNIX, RC_INPUT_TCP_CLIENT, RC_INPUT_UNIX_CLIENT } |
Funkcje | |
| static int | remote_plugin_destroy () |
| static void | rc_input_close (rc_input_t *r) |
| static const char * | rc_var_get_value (variable_t *v) |
| static char * | rc_fstring_reverse (fstring_t *fstr) |
| static string_t | remote_what_to_write (char *what, va_list ap) |
| static int | remote_broadcast (char *what,...) |
| static int | remote_writefd (int fd, char *what,...) |
| int | rc_theme_enumerate (const char *name, const char *value) |
| static char ** | array_make_count (const char *string, char sep, int *arrcnt) |
| static int | rc_input_handler_line (int type, int fd, const char *watch, void *data) |
| static int | rc_input_handler_accept (int type, int fd, watch_type_t watch, void *data) |
| static rc_input_t * | rc_input_find (const char *path) |
| static watch_t * | rc_watch_find (int fd) |
| static int | rc_input_new_inet (const char *path, int type) |
| static int | rc_input_new_tcp (const char *path) |
| static int | rc_input_new_udp (const char *path) |
| static int | rc_input_new_pipe (const char *path) |
| static int | rc_input_new_unix (const char *path) |
| static void | rc_detach_changed (const char *name) |
| static void | rc_paths_changed (const char *name) |
| static int | remote_window_new (window_t *w) |
| static void | remote_backlog_add (window_t *w, remote_backlog_t *str) |
| static void | remote_window_kill (window_t *w) |
| static int | remote_postinit (void *data, va_list ap) |
| static int | remote_ui_is_initialized (void *data, va_list ap) |
| static int | remote_ui_window_clear (void *data, va_list ap) |
| static int | remote_ui_window_new (void *data, va_list ap) |
| static int | remote_ui_window_kill (void *data, va_list ap) |
| static int | remote_ui_window_switch (void *data, va_list ap) |
| static int | remote_ui_window_print (void *data, va_list ap) |
| static int | remote_session_added (void *data, va_list ap) |
| static int | remote_ui_beep (void *data, va_list ap) |
| static int | remote_variable_changed (void *data, va_list ap) |
| static int | remote_protocol_connected (void *data, va_list ap) |
| static int | remote_protocol_disconnected (void *data, va_list ap) |
| static int | remote_ui_window_target_changed (void *data, va_list ap) |
| static int | remote_ui_window_act_changed (void *data, va_list ap) |
| static int | remote_session_changed (void *data, va_list ap) |
| static int | remote_session_renamed (void *data, va_list ap) |
| static int | remote_userlist_changed (void *data, va_list ap) |
| static int | remote_userlist_refresh (void *data, va_list ap) |
| static int | remote_all_contacts_changed (void *data, va_list ap) |
| static gint | remote_statusbar_timer (gint type, gpointer data) |
| static void | rc_variable_set (const char *var, const char *val) |
| static int | rc_config_read (const char *plugin) |
| __attribute__ ((visibility("default"))) | |
Zmienne | |
| plugin_t | remote_plugin = { .name = "remote", .pclass = PLUGIN_UI , .destroy = remote_plugin_destroy, .theme_init = NULL } |
| static list_t | rc_inputs = NULL |
| static char * | rc_paths = NULL |
| static char * | rc_password = NULL |
| static int | rc_first = 1 |
| static int | rc_detach = 0 |
| static int | rc_last_mail_count = -1 |
| struct { | |
| const char * name | |
| char * value_def | |
| char * value_ptr | |
| int used | |
| } | ui_vars [] |
| static int | rc_theme_enumerate_fd = -1 |
| #define BGCOLOR | ( | x | ) | -1 |
| #define config_backlog_size -1 |
| #define cur attr[i] |
| #define FGCOLOR | ( | x | ) | ((!(x & FSTR_NORMAL)) ? (x & FSTR_FOREMASK) : -1) |
| #define fix | ( | x | ) | ((x) ? x : "") |
| #define prev attr[i-1] |
| enum rc_input_type_t |
| __attribute__ | ( | (visibility("default")) | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int rc_theme_enumerate | ( | const char * | name, |
| const char * | value | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const char* name |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| plugin_t remote_plugin = { .name = "remote", .pclass = PLUGIN_UI , .destroy = remote_plugin_destroy, .theme_init = NULL } |
| struct { ... } ui_vars[] |
| int used |
| char* value_def |
| char* value_ptr |
1.8.13