#include "jabber_dcc.h"#include <ekg/debug.h>#include <stdio.h>#include <string.h>#include <errno.h>#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>#include <ekg/plugins.h>#include <ekg/userlist.h>#include <ekg/themes.h>#include <ekg/xmalloc.h>#include "jabber.h"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_t * | jabber_dcc_init (int port) |
| void | jabber_dcc_close_handler (struct dcc_s *d) |
| dcc_t * | jabber_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 |
| void jabber_dcc_close_handler | ( | struct dcc_s * | d | ) |
| dcc_t* jabber_dcc_find | ( | const char * | uin, | |
| const char * | id, | |||
| const char * | sid | |||
| ) |
| int jabber_dcc_handle_accept | ( | 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_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 | |||
| ) |
| static watch_t* jabber_dcc_init | ( | int | port | ) | [static] |
| int jabber_dcc_postinit | ( | void * | data, | |
| va_list | ap | |||
| ) |
| int jabber_dcc = 0 |
int jabber_dcc_fd = -1 [static] |
| char* jabber_dcc_ip = NULL |
| int jabber_dcc_port = 0 |
1.7.1