|
ekg2
|
#include "ekg2-config.h"#include <stdint.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <ctype.h>#include <ekg/debug.h>#include <ekg/dynstuff.h>#include <ekg/dynstuff_inline.h>#include <ekg/stuff.h>#include <ekg/xmalloc.h>#include <ekg/userlist.h>#include "icq.h"#include "icq_snac_handlers.h"#include "misc.h"#include "miscicq.h"#include "icq_debug.inc"Definicje | |
| #define | MAX_BYTES_PER_LINE 16 |
Funkcje | |
| void | icq_hexdump (int level, unsigned char *p, size_t len) |
| static void | icq_pack_common (string_t str, char *format, va_list ap) |
| string_t | icq_pack_append (string_t str, char *format,...) |
| string_t | icq_pack (char *format,...) |
| uint32_t | icq_string_to_BE (unsigned char *buf, int len) |
| int | icq_unpack_common (unsigned char *buf, unsigned char **endbuf, int *l, char *format, va_list ap) |
| int | icq_unpack (unsigned char *buf, unsigned char **endbuf, int *l, char *format,...) |
| int | icq_unpack_nc (unsigned char *buf, int len, char *format,...) |
| static | LIST_FREE_ITEM (tlv_free_do_nothing, icq_tlv_t *) |
| DYNSTUFF_LIST_DECLARE (icq_tlvs, icq_tlv_t, tlv_free_do_nothing, static __DYNSTUFF_ADD, __DYNSTUFF_NOREMOVE, __DYNSTUFF_DESTROY) icq_tlv_t *icq_tlv_get(struct icq_tlv_list *l | |
| struct icq_tlv_list * | icq_unpack_tlvs (unsigned char **str, int *maxlen, unsigned int maxcount) |
| struct icq_tlv_list * | icq_unpack_tlvs_nc (unsigned char *str, int maxlen, unsigned int maxcount) |
| uint16_t | icq_status (int status) |
| status_t | icq2ekg_status2 (int nMsgType) |
| status_t | icq2ekg_status (int icq_status) |
| int | tlv_length_check (char *name, icq_tlv_t *t, int length) |
| char * | icq_encryptpw (const char *pw) |
| const char * | icq_lookuptable (struct fieldnames_t *table, int code) |
| void | icq_pack_append_client_identification (string_t pkt) |
| void | icq_convert_string_init () |
| void | icq_convert_string_destroy () |
| char * | icq_convert_from_ucs2be (char *buf, int len) |
| string_t | icq_convert_to_ucs2be (char *text) |
| void | icq_send_snac (session_t *s, uint16_t family, uint16_t cmd, private_data_t *data, snac_subhandler_t subhandler, char *format,...) |
| void | icq_rates_destroy (session_t *s) |
| void | icq_rates_init (session_t *s, int n_rates) |
Zmienne | |
| void * | ucs2be_conv_in = (void*) -1 |
| void * | ucs2be_conv_out = (void*) -1 |
| uint16_t | type |
| #define MAX_BYTES_PER_LINE 16 |
| DYNSTUFF_LIST_DECLARE | ( | icq_tlvs | , |
| icq_tlv_t | , | ||
| tlv_free_do_nothing | , | ||
| static | __DYNSTUFF_ADD, | ||
| __DYNSTUFF_NOREMOVE | , | ||
| __DYNSTUFF_DESTROY | |||
| ) |
| status_t icq2ekg_status | ( | int | icq_status) |
| status_t icq2ekg_status2 | ( | int | nMsgType) |
| char* icq_convert_from_ucs2be | ( | char * | buf, |
| int | len | ||
| ) |
| void icq_convert_string_destroy | ( | ) |
| void icq_convert_string_init | ( | ) |
| string_t icq_convert_to_ucs2be | ( | char * | text) |
| char* icq_encryptpw | ( | const char * | pw) |
| void icq_hexdump | ( | int | level, |
| unsigned char * | p, | ||
| size_t | len | ||
| ) |
| const char* icq_lookuptable | ( | struct fieldnames_t * | table, |
| int | code | ||
| ) |
| string_t icq_pack | ( | char * | format, |
| ... | |||
| ) |
| void icq_pack_append_client_identification | ( | string_t | pkt) |
|
static |
| void icq_rates_destroy | ( | session_t * | s) |
| void icq_rates_init | ( | session_t * | s, |
| int | n_rates | ||
| ) |
| void icq_send_snac | ( | session_t * | s, |
| uint16_t | family, | ||
| uint16_t | cmd, | ||
| private_data_t * | data, | ||
| snac_subhandler_t | subhandler, | ||
| char * | format, | ||
| ... | |||
| ) |
| uint16_t icq_status | ( | int | status) |
| uint32_t icq_string_to_BE | ( | unsigned char * | buf, |
| int | len | ||
| ) |
| int icq_unpack | ( | unsigned char * | buf, |
| unsigned char ** | endbuf, | ||
| int * | l, | ||
| char * | format, | ||
| ... | |||
| ) |
| int icq_unpack_common | ( | unsigned char * | buf, |
| unsigned char ** | endbuf, | ||
| int * | l, | ||
| char * | format, | ||
| va_list | ap | ||
| ) |
| int icq_unpack_nc | ( | unsigned char * | buf, |
| int | len, | ||
| char * | format, | ||
| ... | |||
| ) |
| struct icq_tlv_list* icq_unpack_tlvs | ( | unsigned char ** | str, |
| int * | maxlen, | ||
| unsigned int | maxcount | ||
| ) |
| struct icq_tlv_list* icq_unpack_tlvs_nc | ( | unsigned char * | str, |
| int | maxlen, | ||
| unsigned int | maxcount | ||
| ) |
|
static |
| int tlv_length_check | ( | char * | name, |
| icq_tlv_t * | t, | ||
| int | length | ||
| ) |
| uint16_t type |
| void* ucs2be_conv_in = (void*) -1 |
| void* ucs2be_conv_out = (void*) -1 |
1.8.4