First version of XEP-0138 support
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "strophe.h"
|
||||
#include "ostypes.h"
|
||||
@@ -255,6 +256,13 @@ struct _xmpp_conn_t {
|
||||
int sm_disable;
|
||||
xmpp_sm_state_t *sm_state;
|
||||
|
||||
int compression_allowed, compression_supported;
|
||||
int compress, compression_dont_flush;
|
||||
struct zlib_compression {
|
||||
void *buffer, *buffer_end;
|
||||
z_stream stream;
|
||||
} compression, decompression;
|
||||
|
||||
char *lang;
|
||||
char *domain;
|
||||
char *jid;
|
||||
|
||||
Reference in New Issue
Block a user