|
ekg2
|
#include "ekg2-config.h"#include "win32.h"#include <sys/types.h>#include <sys/ioctl.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/wait.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/resource.h>#include <sys/select.h>#include <dirent.h>#include <errno.h>#include <fcntl.h>#include "compat/getopt.h"#include <limits.h>#include <locale.h>#include <pwd.h>#include <signal.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <unistd.h>#include "audio.h"#include "bindings.h"#include "commands.h"#include "debug.h"#include "events.h"#include "configfile.h"#include "emoticons.h"#include "log.h"#include "metacontacts.h"#include "msgqueue.h"#include "plugins.h"#include "protocol.h"#include "compat/strlcpy.h"#include "sessions.h"#include "stuff.h"#include "themes.h"#include "userlist.h"#include "scripts.h"#include "vars.h"#include "windows.h"#include "xmalloc.h"#include "queries.h"Definicje | |
| #define | _XOPEN_SOURCE 600 |
| #define | __EXTENSIONS__ |
| #define | __USE_BSD |
| #define | EKG_USAGE |
Funkcje | |
| static int | ekg_autoaway_timer (int type, void *data) |
| void | ekg_loop () |
| static void | handle_sigusr1 () |
| static void | handle_sigusr2 () |
| static void | handle_sighup () |
| static void | handle_sigsegv () |
| static char * | prepare_batch_line (int argc, char *argv[], int n) |
| static int | handle_stderr (int type, int fd, const char *watch, void *data) |
| void | ekg_debug_handler (int level, const char *format, va_list ap) |
| int | main (int argc, char **argv) |
| void | ekg_exit () |
Zmienne | |
| char * | config_dir |
| int | mesg_startup |
| int | ekg_watches_removed |
| static char | argv0 [PATH_MAX] |
| pid_t | speech_pid = 0 |
| static int | stderr_backup = -1 |
| int | no_mouse = 0 |
| struct option | ekg_options [] |
| #define __EXTENSIONS__ |
| #define __USE_BSD |
| #define _XOPEN_SOURCE 600 |
| #define EKG_USAGE |
|
static |
less important things which don't need to be checked every main loop iteration e.g. autoaways
executed each second.
| 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 | ( | ) |
| void ekg_loop | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
|
static |
|
static |
| char* config_dir |
| struct option ekg_options[] |
| int ekg_watches_removed |
| int mesg_startup |
| int no_mouse = 0 |
| pid_t speech_pid = 0 |
|
static |
1.8.1.2