diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-12-21 21:04:39 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-12-24 14:03:40 +0100 |
commit | 983477084cbb78b00da249a301480175324e93fc (patch) | |
tree | 292e998621df4b640e0454d95e6d1082d0910dd8 /src/xmpp/xmpp_component.hpp | |
parent | 2ecb637f0c4a97643962d1703f208d1b1baf7e9b (diff) | |
download | biboumi-983477084cbb78b00da249a301480175324e93fc.tar.gz biboumi-983477084cbb78b00da249a301480175324e93fc.tar.bz2 biboumi-983477084cbb78b00da249a301480175324e93fc.tar.xz biboumi-983477084cbb78b00da249a301480175324e93fc.zip |
connect() returns a boolean
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 15f8f2f..1a7fc6b 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -25,9 +25,10 @@ public: void parse_in_buffer() override final; /** - * Connect to the XMPP server + * Connect to the XMPP server. + * Returns false if we failed to connect */ - void start(); + bool start(); /** * Serialize the stanza and add it to the out_buf to be sent to the * server. |