ekg2  GIT master
Definicje | Funkcje | Zmienne
Dokumentacja pliku ekg-remote.c
#include "ekg2-config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/un.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/select.h>
#include <errno.h>
#include <fcntl.h>
#include "compat/getopt.h"
#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "commands.h"
#include "debug.h"
#include "plugins.h"
#include "compat/strlcpy.h"
#include "sessions.h"
#include "recode.h"
#include "stuff.h"
#include "themes.h"
#include "userlist.h"
#include "vars.h"
#include "windows.h"
#include "xmalloc.h"
#include "queries.h"
Wykres zależności załączania dla ekg-remote.c:

Definicje

#define _XOPEN_SOURCE   600
 
#define __EXTENSIONS__
 
#define __USE_BSD
 
#define EKG_USAGE
 

Funkcje

 __attribute__ ((visibility("hidden")))
 
static void config_postread ()
 
static int config_read (const char *filename)
 
static int session_read (const char *filename)
 
static int metacontact_read ()
 
static void metacontact_init ()
 
static void metacontacts_destroy ()
 
void * metacontact_find_prio (void *m)
 
void * newconference_find (session_t *s, const char *name)
 
static void newconferences_destroy ()
 
static void conferences_destroy ()
 
void changed_theme (const char *var)
 
const char * prepare_path (const char *filename, int do_mkdir)
 
int session_check (session_t *s, int need_private, const char *protocol)
 
void ekg_loop ()
 
static void handle_sighup ()
 
static void handle_sigsegv ()
 
static int handle_stderr (int type, int fd, const char *watch, void *data)
 
int remote_connect (const char *path)
 
int remote_connect2 (int fd, const char *password)
 
int remote_connect3 ()
 
void remote_print_stats ()
 
static int remote_irc_topic_helper (void *data, va_list ap)
 
static int remote_mail_count_helper (void *data, va_list ap)
 
int main (int argc, char **argv)
 
void ekg_exit ()
 

Zmienne

void * metacontacts
 
void * newconferences
 
void * conferences
 
struct option ekg_options []
 
int remote_mail_count
 

Dokumentacja definicji

◆ __EXTENSIONS__

#define __EXTENSIONS__

◆ __USE_BSD

#define __USE_BSD

◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE   600

◆ EKG_USAGE

#define EKG_USAGE
Wartość:
N_( \
"Usage: %s [OPTIONS] REMOTE-ENDPOINT\n" \
" -c, --charset=CHARSET forces charset to use\n" \
" -p, --password=PASSWD sets password\n" \
" -T, --test=NAME same as -F, but runs in test mode - for debugging\n" \
" -F, --frontend=NAME uses NAME frontend (default is ncurses)\n" \
" -m, --no-mouse does not load mouse support\n" \
" -U, --unicode forces unicode support\n" \
\
" -h, --help displays this help message\n" \
" -v, --version displays program version and exits\n" \
"\n" )
#define N_(a)
Definition: themes.h:25

Dokumentacja funkcji

◆ __attribute__()

__attribute__ ( (visibility("hidden"))  )

◆ changed_theme()

void changed_theme ( const char *  var)

◆ conferences_destroy()

static void conferences_destroy ( void  )
static

◆ config_postread()

static void config_postread ( )
static

◆ config_read()

static int config_read ( const char *  filename)
static

◆ ekg_exit()

void ekg_exit ( )

◆ ekg_loop()

void ekg_loop ( )

◆ handle_sighup()

static void handle_sighup ( )
static

◆ handle_sigsegv()

static void handle_sigsegv ( )
static

◆ handle_stderr()

static int handle_stderr ( int  type,
int  fd,
const char *  watch,
void *  data 
)
static

◆ main()

int main ( int  argc,
char **  argv 
)

◆ metacontact_find_prio()

void* metacontact_find_prio ( void *  m)

◆ metacontact_init()

static void metacontact_init ( )
static

◆ metacontact_read()

static int metacontact_read ( )
static

◆ metacontacts_destroy()

static void metacontacts_destroy ( void  )
static

◆ newconference_find()

void* newconference_find ( session_t s,
const char *  name 
)

◆ newconferences_destroy()

static void newconferences_destroy ( void  )
static

◆ prepare_path()

const char* prepare_path ( const char *  filename,
int  do_mkdir 
)

◆ remote_connect()

int remote_connect ( const char *  path)

◆ remote_connect2()

int remote_connect2 ( int  fd,
const char *  password 
)

◆ remote_connect3()

int remote_connect3 ( )

◆ remote_irc_topic_helper()

static int remote_irc_topic_helper ( void *  data,
va_list  ap 
)
static

◆ remote_mail_count_helper()

static int remote_mail_count_helper ( void *  data,
va_list  ap 
)
static

◆ remote_print_stats()

void remote_print_stats ( )

◆ session_check()

int session_check ( session_t s,
int  need_private,
const char *  protocol 
)

◆ session_read()

static int session_read ( const char *  filename)
static

Dokumentacja zmiennych

◆ conferences

void* conferences

◆ ekg_options

struct option ekg_options[]
Wartość początkowa:
= {
{ "charset", required_argument, 0, 'c' },
{ "password", required_argument, 0, 'p' },
{ "test", required_argument, 0, 'T' },
{ "frontend", required_argument, 0, 'F' },
{ "no-mouse", no_argument, 0, 'm' },
{ "unicode", no_argument, 0, 'U' },
{ "help", no_argument, 0, 'h' },
{ "version", no_argument, 0, 'v' },
{ 0, 0, 0, 0 }
}

◆ metacontacts

void* metacontacts

◆ newconferences

void* newconferences

◆ remote_mail_count

int remote_mail_count