comparison libpurple/protocols/gg/lib/libgadu-internal.h @ 31410:93b08d43f684

matekm and kkszysiu collaborated on this patch to update our internal libgadu to version 1.10.1.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Thu, 24 Mar 2011 20:53:13 +0000
parents a4662fd44a7e
children
comparison
equal deleted inserted replaced
31409:5043fc53f957 31410:93b08d43f684
21 #ifndef LIBGADU_INTERNAL_H 21 #ifndef LIBGADU_INTERNAL_H
22 #define LIBGADU_INTERNAL_H 22 #define LIBGADU_INTERNAL_H
23 23
24 #include "libgadu.h" 24 #include "libgadu.h"
25 25
26 char *gg_cp_to_utf8(const char *b); 26 struct gg_dcc7_relay {
27 char *gg_utf8_to_cp(const char *b); 27 uint32_t addr;
28 uint16_t port;
29 uint8_t family;
30 };
31
32 typedef struct gg_dcc7_relay gg_dcc7_relay_t;
33
28 int gg_pubdir50_handle_reply_sess(struct gg_session *sess, struct gg_event *e, const char *packet, int length); 34 int gg_pubdir50_handle_reply_sess(struct gg_session *sess, struct gg_event *e, const char *packet, int length);
29 void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap); 35
36 int gg_resolve(int *fd, int *pid, const char *hostname);
37 int gg_resolve_pthread(int *fd, void **resolver, const char *hostname);
38 void gg_resolve_pthread_cleanup(void *resolver, int kill);
39
40 #ifdef HAVE_UINT64_T
41 uint64_t gg_fix64(uint64_t x);
42 #endif
30 43
31 #endif /* LIBGADU_INTERNAL_H */ 44 #endif /* LIBGADU_INTERNAL_H */