#include <ekg/debug.h>#include <ekg/xmalloc.h>#include "icq.h"#include "misc.h"#include "icq_caps.h"#include "icq_const.h"#include "icq_flap_handlers.h"#include "icq_snac_handlers.h"#include "icq_fieldnames.inc"Struktury danych | |
| struct | _userinfo_t |
Definicje | |
| #define | METASNAC_SUBHANDLER(x) static int x(session_t *s, unsigned char *buf, int len, private_data_t **info) |
Definicje typów | |
| typedef int(* | metasnac_subhandler_t )(session_t *s, unsigned char *, int, private_data_t **info) |
Funkcje | |
| SNAC_SUBHANDLER (icq_snac_extension_error) | |
| static int | __get_userinfo_data (unsigned char *buf, int len, int type, private_data_t **info) |
| static void | __display_info (session_t *s, int type, private_data_t *data) |
| METASNAC_SUBHANDLER (icq_snac_extensions_interests) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_affilations) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_basicinfo) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_notes) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_workinfo) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_shortinfo) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_email) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_moreinfo) | |
| METASNAC_SUBHANDLER (icq_snac_extensions_hpagecat) | |
| static int | icq_snac_extension_userfound_common (session_t *s, unsigned char *buf, int len, int islast) |
| METASNAC_SUBHANDLER (icq_snac_extension_userfound) | |
| METASNAC_SUBHANDLER (icq_snac_extension_userfound_last) | |
| METASNAC_SUBHANDLER (icq_snac_extension_fullinfo_ack) | |
| static metasnac_subhandler_t | get_userinfo_extension_handler (uint16_t subtype) |
| static int | icq_meta_info_reply (session_t *s, unsigned char *buf, int len, private_data_t **info, int show) |
| static int | check_replyreq (session_t *s, unsigned char **buf, int *len, int *type) |
| static int | icq_offline_message (session_t *s, unsigned char *buf, int len, private_data_t **info) |
| static int | icq_offline_message_end (session_t *s, unsigned char *buf, int len, private_data_t **info) |
| SNAC_SUBHANDLER (icq_snac_extension_replyreq) | |
| SNAC_SUBHANDLER (icq_my_meta_information_response) | |
| void | display_whoami (session_t *s) |
| SNAC_HANDLER (icq_snac_extension_handler) | |
Zmienne | |
| static const _userinfo_t | userinfo [] |
| struct fieldnames_t | meta_name [] |
| static int | __displayed = 0 |
| #define METASNAC_SUBHANDLER | ( | x | ) | static int x(session_t *s, unsigned char *buf, int len, private_data_t **info) |
| typedef int(* metasnac_subhandler_t)(session_t *s, unsigned char *, int, private_data_t **info) |
| static void __display_info | ( | session_t * | s, | |
| int | type, | |||
| private_data_t * | data | |||
| ) | [static] |
| static int __get_userinfo_data | ( | unsigned char * | buf, | |
| int | len, | |||
| int | type, | |||
| private_data_t ** | info | |||
| ) | [static] |
| static int check_replyreq | ( | session_t * | s, | |
| unsigned char ** | buf, | |||
| int * | len, | |||
| int * | type | |||
| ) | [static] |
| void display_whoami | ( | session_t * | s | ) |
| static metasnac_subhandler_t get_userinfo_extension_handler | ( | uint16_t | subtype | ) | [static] |
| static int icq_meta_info_reply | ( | session_t * | s, | |
| unsigned char * | buf, | |||
| int | len, | |||
| private_data_t ** | info, | |||
| int | show | |||
| ) | [static] |
| static int icq_offline_message | ( | session_t * | s, | |
| unsigned char * | buf, | |||
| int | len, | |||
| private_data_t ** | info | |||
| ) | [static] |
| static int icq_offline_message_end | ( | session_t * | s, | |
| unsigned char * | buf, | |||
| int | len, | |||
| private_data_t ** | info | |||
| ) | [static] |
| static int icq_snac_extension_userfound_common | ( | session_t * | s, | |
| unsigned char * | buf, | |||
| int | len, | |||
| int | islast | |||
| ) | [static] |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_interests | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_workinfo | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extension_userfound_last | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extension_userfound | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extension_fullinfo_ack | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_shortinfo | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_moreinfo | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_email | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_affilations | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_hpagecat | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_notes | ) |
| METASNAC_SUBHANDLER | ( | icq_snac_extensions_basicinfo | ) |
| SNAC_HANDLER | ( | icq_snac_extension_handler | ) |
| SNAC_SUBHANDLER | ( | icq_snac_extension_error | ) |
| SNAC_SUBHANDLER | ( | icq_snac_extension_replyreq | ) |
| SNAC_SUBHANDLER | ( | icq_my_meta_information_response | ) |
int __displayed = 0 [static] |
| struct fieldnames_t meta_name[] |
{
{META_BASIC_USERINFO, "basic"},
{META_WORK_USERINFO, "work"},
{META_MORE_USERINFO, "more"},
{META_NOTES_USERINFO, "notes"},
{META_EMAIL_USERINFO, "email"},
{META_INTERESTS_USERINFO, "interests"},
{META_AFFILATIONS_USERINFO, "affilations"},
{META_SHORT_USERINFO, "short"},
{META_HPAGECAT_USERINFO, "hpagecat"},
{META_SET_FULLINFO_ACK, "fullinfo_ack"},
{SRV_USER_FOUND, "userfound"},
{SRV_LAST_USER_FOUND, "userfound_last"},
{SRV_RANDOM_FOUND, ""},
{-1, NULL}}
const _userinfo_t userinfo[] [static] |
1.7.1