|
ekg2
|
#include "ekg2-config.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <errno.h>#include <string.h>#include <unistd.h>#include <sys/ioctl.h>#include <stdlib.h>#include <sys/stat.h>#include <ekg/commands.h>#include <ekg/debug.h>#include <ekg/dynstuff.h>#include <ekg/plugins.h>#include <ekg/protocol.h>#include <ekg/vars.h>#include <ekg/stuff.h>#include <ekg/userlist.h>#include <ekg/xmalloc.h>#include <ekg/queries.h>#include "feed.h"Struktury danych | |
| struct | nntp_article_t |
| struct | nntp_newsgroup_t |
| struct | nntp_private_t |
| struct | nntp_children_t |
| struct | nntp_handler_t |
Definicje | |
| #define | NNTP_HANDLER(x) static int x(session_t *s, int code, char *str, void *data) |
Definicje typów | |
| typedef int(* | nntp_handler )(session_t *, int, char *, void *) |
Wyliczenia | |
| enum | nntp_newsgroup_state_t { NNTP_IDLE = 0, NNTP_CHECKING, NNTP_DOWNLOADING } |
Funkcje | |
| static nntp_article_t * | nntp_article_find (nntp_newsgroup_t *group, int articleid, char *msgid) |
| static nntp_newsgroup_t * | nntp_newsgroup_find (session_t *s, const char *name) |
| static void | nntp_handle_disconnect (session_t *s, const char *reason, int type) |
| static void | nntp_children_died (struct child_s *c, int pid, const char *name, int status, void *data) |
| NNTP_HANDLER (nntp_help_process) | |
| static char | hextochar (char t) |
| NNTP_HANDLER (nntp_message_process) | |
| NNTP_HANDLER (nntp_auth_process) | |
| NNTP_HANDLER (nntp_null_process) | |
| NNTP_HANDLER (nntp_group_process) | |
| NNTP_HANDLER (nntp_message_error) | |
| NNTP_HANDLER (nntp_group_error) | |
| NNTP_HANDLER (nntp_xover_process) | |
| static void | nntp_string_append (session_t *s, const char *str) |
| static nntp_handler_t * | nntp_handler_find (int code) |
| static int | nntp_handle_stream (int type, int fd, const char *watch, void *data) |
| static int | nntp_handle_connect (int type, int fd, watch_type_t watch, void *data) |
| static int | nntp_command_disconnect (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_connect (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_raw (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_nextprev (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_get (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_check (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_subscribe (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| static int | nntp_command_unsubscribe (const char *name, const char **params, session_t *session, const char *target, int quiet) |
| void * | nntp_protocol_init () |
| void | nntp_protocol_deinit (void *priv) |
| void | nntp_init () |
Zmienne | |
| nntp_handler_t | nntp_handlers [] |
| typedef int(* nntp_handler)(session_t *, int, char *, void *) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| NNTP_HANDLER | ( | nntp_help_process | ) |
| NNTP_HANDLER | ( | nntp_message_process | ) |
| NNTP_HANDLER | ( | nntp_auth_process | ) |
| NNTP_HANDLER | ( | nntp_null_process | ) |
| NNTP_HANDLER | ( | nntp_group_process | ) |
| NNTP_HANDLER | ( | nntp_message_error | ) |
| NNTP_HANDLER | ( | nntp_group_error | ) |
| NNTP_HANDLER | ( | nntp_xover_process | ) |
|
static |
| void nntp_init | ( | ) |
|
static |
| void nntp_protocol_deinit | ( | void * | priv | ) |
| void* nntp_protocol_init | ( | ) |
| nntp_handler_t nntp_handlers[] |
1.8.1.2