#include <stdint.h>
#include <ekg/sessions.h>
#include <ekg/stuff.h>
#include "icq.h"
Idź do kodu źródłowego tego pliku.
Struktury danych | |
struct | snac_packet_t |
Definicje | |
#define | SNAC_PACKET_LEN 10 |
Funkcje | |
void | icq_makesnac (session_t *s, string_t pkt, uint16_t fam, uint16_t cmd, private_data_t *data, snac_subhandler_t subhandler) |
void | icq_makemetasnac (session_t *s, string_t pkt, uint16_t type, uint16_t subtype, private_data_t *data, snac_subhandler_t subhandler) |
int | icq_snac_handler (session_t *s, uint16_t family, uint16_t cmd, unsigned char *buf, int len, uint16_t flags, uint32_t ref_no) |
void | icq_snac_error_handler (session_t *s, const char *from, uint16_t error) |
void | icq_snac_references_list_destroy (icq_snac_reference_list_t **lista) |
int | icq_snac_ref_list_cleanup (int type, session_t *s) |
SNAC_SUBHANDLER (icq_my_meta_information_response) | |
SNAC_SUBHANDLER (icq_cmd_addssi_ack) | |
void | display_whoami (session_t *s) |
void | icq_pack_append_nullterm_msg (string_t pkt, const char *msg) |
void | icq_pack_append_rendezvous (string_t pkt, int version, int cookie, int mtype, int mflags, int accept, int priority) |
SNAC_HANDLER (icq_snac_service_handler) | |
SNAC_HANDLER (icq_snac_location_handler) | |
SNAC_HANDLER (icq_snac_buddy_handler) | |
SNAC_HANDLER (icq_snac_message_handler) | |
SNAC_HANDLER (icq_snac_bos_handler) | |
SNAC_HANDLER (icq_snac_lookup_handler) | |
SNAC_HANDLER (icq_snac_status_handler) | |
SNAC_HANDLER (icq_snac_userlist_handler) | |
SNAC_HANDLER (icq_snac_extension_handler) | |
SNAC_HANDLER (icq_snac_sigon_handler) |
#define SNAC_PACKET_LEN 10 |
void display_whoami | ( | session_t * | s | ) |
void icq_makemetasnac | ( | session_t * | s, | |
string_t | pkt, | |||
uint16_t | type, | |||
uint16_t | subtype, | |||
private_data_t * | data, | |||
snac_subhandler_t | subhandler | |||
) |
void icq_makesnac | ( | session_t * | s, | |
string_t | pkt, | |||
uint16_t | fam, | |||
uint16_t | cmd, | |||
private_data_t * | data, | |||
snac_subhandler_t | subhandler | |||
) |
void icq_pack_append_nullterm_msg | ( | string_t | pkt, | |
const char * | msg | |||
) |
void icq_pack_append_rendezvous | ( | string_t | pkt, | |
int | version, | |||
int | cookie, | |||
int | mtype, | |||
int | mflags, | |||
int | accept, | |||
int | priority | |||
) |
void icq_snac_error_handler | ( | session_t * | s, | |
const char * | from, | |||
uint16_t | error | |||
) |
int icq_snac_handler | ( | session_t * | s, | |
uint16_t | family, | |||
uint16_t | cmd, | |||
unsigned char * | buf, | |||
int | len, | |||
uint16_t | flags, | |||
uint32_t | ref_no | |||
) |
int icq_snac_ref_list_cleanup | ( | int | type, | |
session_t * | s | |||
) |
void icq_snac_references_list_destroy | ( | icq_snac_reference_list_t ** | lista | ) |
SNAC_HANDLER | ( | icq_snac_location_handler | ) |
SNAC_HANDLER | ( | icq_snac_status_handler | ) |
SNAC_HANDLER | ( | icq_snac_extension_handler | ) |
SNAC_HANDLER | ( | icq_snac_userlist_handler | ) |
SNAC_HANDLER | ( | icq_snac_bos_handler | ) |
SNAC_HANDLER | ( | icq_snac_sigon_handler | ) |
SNAC_HANDLER | ( | icq_snac_buddy_handler | ) |
SNAC_HANDLER | ( | icq_snac_service_handler | ) |
SNAC_HANDLER | ( | icq_snac_lookup_handler | ) |
SNAC_HANDLER | ( | icq_snac_message_handler | ) |
SNAC_SUBHANDLER | ( | icq_cmd_addssi_ack | ) |
SNAC_SUBHANDLER | ( | icq_my_meta_information_response | ) |