libgadu.h | libgadu.h | |||
---|---|---|---|---|
skipping to change at line 921 | skipping to change at line 921 | |||
* si | * si | |||
*/ | */ | |||
extern int gg_debug_level; /* poziom debugowania. mapa bitowa sta | extern int gg_debug_level; /* poziom debugowania. mapa bitowa sta | |||
/* | /* | |||
* mo | * mo | |||
* nieoficjalne, nieudokumentowane, mo | * nieoficjalne, nieudokumentowane, mo | |||
* zainteresowany, niech da zna | * zainteresowany, niech da zna | |||
*/ | */ | |||
extern void (*gg_debug_handler)(int level, const char *format, va_list ap); | extern void (*gg_debug_handler)(int level, const char *format, va_list ap); | |||
extern void (*gg_debug_handler_session)(struct gg_session *sess, int level, const char *format, va_list ap); | ||||
/* | /* | |||
* mo | * mo | |||
*/ | */ | |||
extern FILE *gg_debug_file; | extern FILE *gg_debug_file; | |||
#define GG_DEBUG_NET 1 | #define GG_DEBUG_NET 1 | |||
#define GG_DEBUG_TRAFFIC 2 | #define GG_DEBUG_TRAFFIC 2 | |||
#define GG_DEBUG_DUMP 4 | #define GG_DEBUG_DUMP 4 | |||
#define GG_DEBUG_FUNCTION 8 | #define GG_DEBUG_FUNCTION 8 | |||
#define GG_DEBUG_MISC 16 | #define GG_DEBUG_MISC 16 | |||
#ifdef GG_DEBUG_DISABLE | #ifdef GG_DEBUG_DISABLE | |||
#define gg_debug(x, y...) do { } while(0) | #define gg_debug(x, y...) do { } while(0) | |||
#define gg_debug_session(z, x, y...) do { } while(0) | ||||
#else | #else | |||
void gg_debug(int level, const char *format, ...); | void gg_debug(int level, const char *format, ...); | |||
void gg_debug_session(struct gg_session *sess, int level, const char *forma t, ...); | ||||
#endif | #endif | |||
const char *gg_libgadu_version(void); | const char *gg_libgadu_version(void); | |||
/* | /* | |||
* konfiguracja http proxy. | * konfiguracja http proxy. | |||
*/ | */ | |||
extern int gg_proxy_enabled; /* w | extern int gg_proxy_enabled; /* w | |||
extern char *gg_proxy_host; /* okre | extern char *gg_proxy_host; /* okre | |||
extern int gg_proxy_port; /* okre | extern int gg_proxy_port; /* okre | |||
skipping to change at line 967 | skipping to change at line 970 | |||
* ------------------------------------------------------------------------ - | * ------------------------------------------------------------------------ - | |||
* poni | * poni | |||
* powinien ich w og | * powinien ich w og | |||
* procedurami wy | * procedurami wy | |||
* tego pliku. | * tego pliku. | |||
* ------------------------------------------------------------------------ - | * ------------------------------------------------------------------------ - | |||
*/ | */ | |||
#ifdef GG_CONFIG_HAVE_PTHREAD | #ifdef GG_CONFIG_HAVE_PTHREAD | |||
int gg_resolve_pthread(int *fd, void **resolver, const char *hostname); | int gg_resolve_pthread(int *fd, void **resolver, const char *hostname); | |||
void gg_resolve_pthread_cleanup(void *resolver, int kill); | ||||
#endif | #endif | |||
#ifdef _WIN32 | #ifdef _WIN32 | |||
int gg_thread_socket(int thread_id, int socket); | int gg_thread_socket(int thread_id, int socket); | |||
#endif | #endif | |||
int gg_resolve(int *fd, int *pid, const char *hostname); | int gg_resolve(int *fd, int *pid, const char *hostname); | |||
#ifdef __GNUC__ | #ifdef __GNUC__ | |||
char *gg_saprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); | char *gg_saprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); | |||
End of changes. 4 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||