#include <ekg/dynstuff.h>
#include <ekg/plugins.h>
#include <ekg/protocol.h>
#include <ekg/sessions.h>
#include <ekg/windows.h>
#include "irc-ssl.h"
Idź do kodu źródłowego tego pliku.
Struktury danych |
struct | _irc_private_t |
struct | conv_in_out_t |
struct | out_recodes_t |
struct | recoded_channels_t |
struct | _irc_awaylog_t |
struct | people_t |
struct | channel_t |
struct | people_chan_t |
struct | connector_t |
struct | irc_resolver_t |
Definicje |
#define | DOT(a, x, y, z, error) |
#define | SOP(x) (j->sopt[x]) |
#define | irc_private(s) ((irc_private_t*) session_private_get(s)) |
#define | IRC4 "irc:" |
#define | irc_uid(target) protocol_uid("irc", target) |
#define | irc_write(s, args...) watch_write((s && s->priv) ? irc_private(s)->send_watch : NULL, args); |
Definicje typów |
typedef struct _irc_private_t | irc_private_t |
typedef struct _irc_awaylog_t | irc_awaylog_t |
Wyliczenia |
enum | {
USERMODES = 0,
CHANMODES,
_005_PREFIX,
_005_CHANTYPES,
_005_CHANMODES,
_005_MODES,
_005_CHANLIMIT,
_005_NICKLEN,
_005_IDCHAN,
SERVOPTS
} |
enum | { IRC_CASEMAPPING_ASCII,
IRC_CASEMAPPING_RFC1459,
IRC_CASEMAPPING_RFC1459_STRICT,
IRC_CASEMAPPING_COUNT
} |
enum | { IRC_GC_CHAN = 0,
IRC_GC_NOT_CHAN,
IRC_GC_ANY
} |
Funkcje |
void | irc_handle_disconnect (session_t *s, const char *reason, int type) |
int | irc_parse_line (session_t *s, char *buf, int fd) |
char * | nickpad_string_create (channel_t *chan) |
char * | nickpad_string_apply (channel_t *chan, const char *str) |
char * | nickpad_string_restore (channel_t *chan) |
char * | clean_channel_names (session_t *session, char *channels) |
Zmienne |
plugin_t | irc_plugin |
int | irc_config_experimental_chan_name_clean |
Dokumentacja definicji
#define DOT |
( |
|
a, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z, |
|
|
|
error | |
|
) |
| | |
Wartość:print_info("__status", z, a, session_name(z), x, y->hostname, y->address, \
itoa(y->port < 0 ? \
session_int_get(z, "port") < 0 ? DEFPORT : session_int_get(z, "port") : y->port), \
itoa(y->family), error ? strerror(error) : "")
#define irc_private |
( |
|
s |
) |
((irc_private_t*) session_private_get(s)) |
#define irc_uid |
( |
|
target |
) |
protocol_uid("irc", target) |
#define irc_write |
( |
|
s, |
|
|
|
args... | |
|
) |
| | watch_write((s && s->priv) ? irc_private(s)->send_watch : NULL, args); |
#define SOP |
( |
|
x |
) |
(j->sopt[x]) |
Dokumentacja definicji typów
Dokumentacja typów wyliczanych
- Wartości wyliczeń:
USERMODES |
|
CHANMODES |
|
_005_PREFIX |
|
_005_CHANTYPES |
|
_005_CHANMODES |
|
_005_MODES |
|
_005_CHANLIMIT |
|
_005_NICKLEN |
|
_005_IDCHAN |
|
SERVOPTS |
|
- Wartości wyliczeń:
IRC_CASEMAPPING_ASCII |
|
IRC_CASEMAPPING_RFC1459 |
|
IRC_CASEMAPPING_RFC1459_STRICT |
|
IRC_CASEMAPPING_COUNT |
|
- Wartości wyliczeń:
IRC_GC_CHAN |
|
IRC_GC_NOT_CHAN |
|
IRC_GC_ANY |
|
Dokumentacja funkcji
char* clean_channel_names |
( |
session_t * |
session, |
|
|
char * |
channels | |
|
) |
| | |
void irc_handle_disconnect |
( |
session_t * |
s, |
|
|
const char * |
reason, |
|
|
int |
type | |
|
) |
| | |
int irc_parse_line |
( |
session_t * |
s, |
|
|
char * |
buf, |
|
|
int |
fd | |
|
) |
| | |
char* nickpad_string_apply |
( |
channel_t * |
chan, |
|
|
const char * |
str | |
|
) |
| | |
char* nickpad_string_create |
( |
channel_t * |
chan |
) |
|
char* nickpad_string_restore |
( |
channel_t * |
chan |
) |
|
Dokumentacja zmiennych