ekg2  GIT master
Definicje | Funkcje | Zmienne
Dokumentacja pliku jabber_dcc.c
#include "ekg2.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include "jabber.h"
#include "jabber_dcc.h"
Wykres zależności załączania dla jabber_dcc.c:

Definicje

#define DCC_RULE(x)   (!xstrncmp(x->uid, "xmpp:", 5) && !xstrcmp(x->uid+5, uin))
 

Funkcje

int jabber_dcc_handle_recv (int type, int fd, watch_type_t watch, void *data)
 
int jabber_dcc_handle_send (int type, int fd, watch_type_t watch, void *data)
 
int jabber_dcc_handle_accepted (int type, int fd, watch_type_t watch, void *data)
 
int jabber_dcc_handle_accept (int type, int fd, watch_type_t watch, void *data)
 
static watch_tjabber_dcc_init (int port)
 
void jabber_dcc_close_handler (struct dcc_s *d)
 
dcc_tjabber_dcc_find (const char *uin, const char *id, const char *sid)
 
int jabber_dcc_postinit (void *data, va_list ap)
 

Zmienne

int jabber_dcc = 0
 
int jabber_dcc_port = 0
 
char * jabber_dcc_ip = NULL
 
static int jabber_dcc_fd = -1
 

Dokumentacja definicji

◆ DCC_RULE

#define DCC_RULE (   x)    (!xstrncmp(x->uid, "xmpp:", 5) && !xstrcmp(x->uid+5, uin))

Dokumentacja funkcji

◆ jabber_dcc_close_handler()

void jabber_dcc_close_handler ( struct dcc_s d)

◆ jabber_dcc_find()

dcc_t* jabber_dcc_find ( const char *  uin,
const char *  id,
const char *  sid 
)

◆ jabber_dcc_handle_accept()

int jabber_dcc_handle_accept ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)

◆ jabber_dcc_handle_accepted()

int jabber_dcc_handle_accepted ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)

◆ jabber_dcc_handle_recv()

int jabber_dcc_handle_recv ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)

◆ jabber_dcc_handle_send()

int jabber_dcc_handle_send ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)

◆ jabber_dcc_init()

static watch_t* jabber_dcc_init ( int  port)
static

◆ jabber_dcc_postinit()

int jabber_dcc_postinit ( void *  data,
va_list  ap 
)

Dokumentacja zmiennych

◆ jabber_dcc

int jabber_dcc = 0

◆ jabber_dcc_fd

int jabber_dcc_fd = -1
static

◆ jabber_dcc_ip

char* jabber_dcc_ip = NULL

◆ jabber_dcc_port

int jabber_dcc_port = 0