ekg2
Struktury danych | Funkcje | Zmienne

Dokumentacja pliku plugins/gg/dcc.c

#include "ekg2-config.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ekg/audio.h>
#include <ekg/commands.h>
#include <ekg/debug.h>
#include <ekg/protocol.h>
#include <ekg/stuff.h>
#include <ekg/themes.h>
#include <ekg/userlist.h>
#include <ekg/xmalloc.h>
#include <libgadu.h>
#include "dcc.h"
#include "gg.h"

Struktury danych

struct  gg_audio_private_t

Funkcje

 AUDIO_DEFINE (gg_dcc)
 AUDIO_CONTROL (gg_dcc_audio_control)
int gg_dcc_audio_read (int type, int fd, string_t buf, void *data)
int gg_dcc_audio_write (int type, int fd, string_t buf, void *data)
void gg_changed_dcc (const char *var)
int gg_command_dcc (const char *name, const char **params, session_t *session, const char *target, int quiet)
dcc_tgg_dcc_find (void *d)
int gg_dcc_handler (int type, int fd, watch_type_t watch, void *data)
static int gg_dcc_handler_open (int type, int fd, watch_type_t watch, void *data)
int gg_dcc_socket_open (int port)
void gg_dcc_socket_close ()
void gg_dcc_audio_init ()
void gg_dcc_audio_close ()

Zmienne

int audiofds [2] = { -1, -1}
struct gg_dcc * gg_dcc_socket = NULL
static int dcc_limit_time = 0
static int dcc_limit_count = 0
int gg_config_audio
int gg_config_dcc
int gg_config_dcc_port
char * gg_config_dcc_ip
char * gg_config_dcc_limit

Dokumentacja funkcji

AUDIO_CONTROL ( gg_dcc_audio_control  )
AUDIO_DEFINE ( gg_dcc  )
void gg_changed_dcc ( const char *  var)
int gg_command_dcc ( const char *  name,
const char **  params,
session_t session,
const char *  target,
int  quiet 
)
void gg_dcc_audio_close ( )
void gg_dcc_audio_init ( )
int gg_dcc_audio_read ( int  type,
int  fd,
string_t  buf,
void *  data 
)
int gg_dcc_audio_write ( int  type,
int  fd,
string_t  buf,
void *  data 
)
dcc_t* gg_dcc_find ( void *  d)
int gg_dcc_handler ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)
static int gg_dcc_handler_open ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
) [static]
void gg_dcc_socket_close ( )
int gg_dcc_socket_open ( int  port)

Dokumentacja zmiennych

int audiofds[2] = { -1, -1}
int dcc_limit_count = 0 [static]
int dcc_limit_time = 0 [static]
struct gg_dcc* gg_dcc_socket = NULL
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje