Promote xmpp_send_raw and xmpp_send_raw_string to the public API
If you receive XML data to send from some place else in your app, you just want to send it. Signed-off-by: Jack Moffitt <jack@metajack.im>
This commit is contained in:
@@ -218,11 +218,6 @@ void conn_disconnect(xmpp_conn_t * const conn);
|
|||||||
void conn_disconnect_clean(xmpp_conn_t * const conn);
|
void conn_disconnect_clean(xmpp_conn_t * const conn);
|
||||||
void conn_open_stream(xmpp_conn_t * const conn);
|
void conn_open_stream(xmpp_conn_t * const conn);
|
||||||
|
|
||||||
void xmpp_send_raw_string(xmpp_conn_t * const conn,
|
|
||||||
const char * const fmt, ...);
|
|
||||||
void xmpp_send_raw(xmpp_conn_t * const conn,
|
|
||||||
const char * const data, const size_t len);
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
XMPP_STANZA_UNKNOWN,
|
XMPP_STANZA_UNKNOWN,
|
||||||
|
|||||||
@@ -231,6 +231,11 @@ void xmpp_disconnect(xmpp_conn_t * const conn);
|
|||||||
void xmpp_send(xmpp_conn_t * const conn,
|
void xmpp_send(xmpp_conn_t * const conn,
|
||||||
xmpp_stanza_t * const stanza);
|
xmpp_stanza_t * const stanza);
|
||||||
|
|
||||||
|
void xmpp_send_raw_string(xmpp_conn_t * const conn,
|
||||||
|
const char * const fmt, ...);
|
||||||
|
void xmpp_send_raw(xmpp_conn_t * const conn,
|
||||||
|
const char * const data, const size_t len);
|
||||||
|
|
||||||
|
|
||||||
/* handlers */
|
/* handlers */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user