summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h
index 254bf08..5156142 100644
--- a/src/rexmpp.h
+++ b/src/rexmpp.h
@@ -150,8 +150,7 @@ enum sm_st {
enum carbons_st {
REXMPP_CARBONS_INACTIVE,
REXMPP_CARBONS_NEGOTIATION,
- REXMPP_CARBONS_ACTIVE,
- REXMPP_CARBONS_DISABLED
+ REXMPP_CARBONS_ACTIVE
};
/** Error codes. */
@@ -221,6 +220,10 @@ struct rexmpp
const char *socks_host;
uint16_t socks_port;
+ /* Various knobs (these are used instead of loadable modules). */
+ int enable_carbons;
+ int enable_service_discovery;
+
/* Resource limits. */
uint32_t stanza_queue_size;
uint32_t send_queue_size;