diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-07-10 15:36:55 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-07-10 15:36:55 +0000 |
commit | ded0d16174373dd42aeb4a4bff2a574fabb969ec (patch) | |
tree | 696eab6656b7157d20e7bf8260b25865a2afbfb5 | |
parent | d834be9faf77f5a2d6a787f768543d22ad451d22 (diff) |
include/asterisk/xmpp.h: Convert indentation to tabs
This is a whitespace only change.
........
Merged revisions 418323 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 418324 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | include/asterisk/xmpp.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/include/asterisk/xmpp.h b/include/asterisk/xmpp.h index 6d14b1115..58b14e4d3 100644 --- a/include/asterisk/xmpp.h +++ b/include/asterisk/xmpp.h @@ -69,70 +69,70 @@ /*! \brief Client connection states */ enum xmpp_state { - XMPP_STATE_DISCONNECTING, /*!< Client is disconnecting */ - XMPP_STATE_DISCONNECTED, /*!< Client is disconnected */ - XMPP_STATE_CONNECTING, /*!< Client is connecting */ - XMPP_STATE_REQUEST_TLS, /*!< Client should request TLS */ - XMPP_STATE_REQUESTED_TLS, /*!< Client has requested TLS */ - XMPP_STATE_AUTHENTICATE, /*!< Client needs to authenticate */ - XMPP_STATE_AUTHENTICATING, /*!< Client is authenticating */ - XMPP_STATE_ROSTER, /*!< Client is currently getting the roster */ - XMPP_STATE_CONNECTED, /*!< Client is fully connected */ + XMPP_STATE_DISCONNECTING, /*!< Client is disconnecting */ + XMPP_STATE_DISCONNECTED, /*!< Client is disconnected */ + XMPP_STATE_CONNECTING, /*!< Client is connecting */ + XMPP_STATE_REQUEST_TLS, /*!< Client should request TLS */ + XMPP_STATE_REQUESTED_TLS, /*!< Client has requested TLS */ + XMPP_STATE_AUTHENTICATE, /*!< Client needs to authenticate */ + XMPP_STATE_AUTHENTICATING, /*!< Client is authenticating */ + XMPP_STATE_ROSTER, /*!< Client is currently getting the roster */ + XMPP_STATE_CONNECTED, /*!< Client is fully connected */ }; /*! \brief Resource capabilities */ struct ast_xmpp_capabilities { - char node[200]; /*!< Node string from the capabilities stanza in presence notification */ - char version[50]; /*!< Version string from the capabilities stanza in presence notification */ - unsigned int jingle:1; /*!< Set if the resource supports Jingle */ - unsigned int google:1; /*!< Set if the resource supports Google Talk */ + char node[200]; /*!< Node string from the capabilities stanza in presence notification */ + char version[50]; /*!< Version string from the capabilities stanza in presence notification */ + unsigned int jingle:1; /*!< Set if the resource supports Jingle */ + unsigned int google:1; /*!< Set if the resource supports Google Talk */ }; /*! \brief XMPP Resource */ struct ast_xmpp_resource { - char resource[XMPP_MAX_RESJIDLEN]; /*!< JID of the resource */ - int status; /*!< Current status of the resource */ - char *description; /*!< Description of the resource */ - int priority; /*!< Priority, used for deciding what resource to use */ - struct ast_xmpp_capabilities caps; /*!< Capabilities of the resource */ + char resource[XMPP_MAX_RESJIDLEN]; /*!< JID of the resource */ + int status; /*!< Current status of the resource */ + char *description; /*!< Description of the resource */ + int priority; /*!< Priority, used for deciding what resource to use */ + struct ast_xmpp_capabilities caps; /*!< Capabilities of the resource */ }; /*! \brief XMPP Message */ struct ast_xmpp_message { - char *from; /*!< Who the message is from */ - char *message; /*!< Message contents */ - char id[25]; /*!< Identifier for the message */ - struct timeval arrived; /*!< When the message arrived */ - AST_LIST_ENTRY(ast_xmpp_message) list; /*!< Linked list information */ + char *from; /*!< Who the message is from */ + char *message; /*!< Message contents */ + char id[25]; /*!< Identifier for the message */ + struct timeval arrived; /*!< When the message arrived */ + AST_LIST_ENTRY(ast_xmpp_message) list; /*!< Linked list information */ }; /*! \brief XMPP Buddy */ struct ast_xmpp_buddy { - char id[XMPP_MAX_JIDLEN]; /*!< JID of the buddy */ - struct ao2_container *resources; /*!< Resources for the buddy */ - unsigned int subscribe:1; /*!< Need to subscribe to get their status */ + char id[XMPP_MAX_JIDLEN]; /*!< JID of the buddy */ + struct ao2_container *resources; /*!< Resources for the buddy */ + unsigned int subscribe:1; /*!< Need to subscribe to get their status */ }; /*! \brief XMPP Client Connection */ struct ast_xmpp_client { - AST_DECLARE_STRING_FIELDS( - AST_STRING_FIELD(name); /*!< Name of the client configuration */ - ); - char mid[6]; /* Message ID */ - iksid *jid; - iksparser *parser; - iksfilter *filter; - ikstack *stack; + AST_DECLARE_STRING_FIELDS( + AST_STRING_FIELD(name); /*!< Name of the client configuration */ + ); + char mid[6]; /* Message ID */ + iksid *jid; + iksparser *parser; + iksfilter *filter; + ikstack *stack; #ifdef HAVE_OPENSSL - SSL_CTX *ssl_context; - SSL *ssl_session; - const SSL_METHOD *ssl_method; - unsigned int stream_flags; + SSL_CTX *ssl_context; + SSL *ssl_session; + const SSL_METHOD *ssl_method; + unsigned int stream_flags; #endif /* HAVE_OPENSSL */ - enum xmpp_state state; - struct ao2_container *buddies; - AST_LIST_HEAD(, ast_xmpp_message) messages; - pthread_t thread; + enum xmpp_state state; + struct ao2_container *buddies; + AST_LIST_HEAD(, ast_xmpp_message) messages; + pthread_t thread; int timeout; unsigned int reconnect:1; /*!< Reconnect this client */ struct stasis_subscription *mwi_sub; /*!< If distributing event information the MWI subscription */ |