Set auth properties on XMPPClient
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#ifndef __H_PARSER
|
||||
#define __H_PARSER
|
||||
|
||||
#include "server/stanza.h"
|
||||
#include "server/xmppclient.h"
|
||||
|
||||
typedef void (*stream_start_func)(void * const userdata);
|
||||
typedef void (*auth_func)(void * const userdata);
|
||||
typedef void (*stream_start_func)(XMPPClient *client);
|
||||
typedef void (*auth_func)(XMPPStanza *stanza, XMPPClient *client);
|
||||
|
||||
void parser_init(XMPPClient *client, stream_start_func startcb, auth_func authcb);
|
||||
int parser_feed(char *chunk, int len);
|
||||
|
||||
Reference in New Issue
Block a user