gloox  1.0.28
gloox.h
1 /*
2  Copyright (c) 2005-2023 by Jakob Schröter <js@camaya.net>
3  This file is part of the gloox library. http://camaya.net/gloox
4 
5  This software is distributed under a license. The full license
6  agreement can be found in the file LICENSE in this distribution.
7  This software may not be copied, modified, sold or distributed
8  other than expressed in the named license agreement.
9 
10  This software is distributed without any warranty.
11 */
12 
353 #ifndef GLOOX_H__
354 #define GLOOX_H__
355 
356 #include "macros.h"
357 
358 #include <string>
359 #include <list>
360 #include <map>
361 
368 namespace gloox
369 {
371  GLOOX_API extern const std::string XMLNS_CLIENT;
372 
374  GLOOX_API extern const std::string XMLNS_COMPONENT_ACCEPT;
375 
377  GLOOX_API extern const std::string XMLNS_COMPONENT_CONNECT;
378 
380  GLOOX_API extern const std::string XMLNS_DISCO_INFO;
381 
383  GLOOX_API extern const std::string XMLNS_DISCO_ITEMS;
384 
386  GLOOX_API extern const std::string XMLNS_DISCO_PUBLISH;
387 
389  GLOOX_API extern const std::string XMLNS_ADHOC_COMMANDS;
390 
392  GLOOX_API extern const std::string XMLNS_COMPRESSION;
393 
395  GLOOX_API extern const std::string XMLNS_OFFLINE;
396 
398  GLOOX_API extern const std::string XMLNS_CHAT_STATES;
399 
401  GLOOX_API extern const std::string XMLNS_AMP;
402 
404  GLOOX_API extern const std::string XMLNS_IBB;
405 
407  GLOOX_API extern const std::string XMLNS_FEATURE_NEG;
408 
410  GLOOX_API extern const std::string XMLNS_CHATNEG;
411 
413  GLOOX_API extern const std::string XMLNS_XHTML_IM;
414 
416  GLOOX_API extern const std::string XMLNS_DELAY;
417 
419  GLOOX_API extern const std::string XMLNS_ROSTER;
420 
422  GLOOX_API extern const std::string XMLNS_VERSION;
423 
425  GLOOX_API extern const std::string XMLNS_REGISTER;
426 
428  GLOOX_API extern const std::string XMLNS_PRIVACY;
429 
431  GLOOX_API extern const std::string XMLNS_AUTH;
432 
434  GLOOX_API extern const std::string XMLNS_PRIVATE_XML;
435 
437  GLOOX_API extern const std::string XMLNS_LAST;
438 
440  GLOOX_API extern const std::string XMLNS_SEARCH;
441 
443  GLOOX_API extern const std::string XMLNS_IQ_OOB;
444 
446  GLOOX_API extern const std::string XMLNS_X_DATA;
447 
449  GLOOX_API extern const std::string XMLNS_X_EVENT;
450 
452  GLOOX_API extern const std::string XMLNS_X_OOB;
453 
455  GLOOX_API extern const std::string XMLNS_X_DELAY;
456 
458  GLOOX_API extern const std::string XMLNS_X_GPGSIGNED;
459 
461  GLOOX_API extern const std::string XMLNS_X_GPGENCRYPTED;
462 
464  GLOOX_API extern const std::string XMLNS_VCARD_TEMP;
465 
467  GLOOX_API extern const std::string XMLNS_X_VCARD_UPDATE;
468 
470  GLOOX_API extern const std::string XMLNS_BOOKMARKS;
471 
473  GLOOX_API extern const std::string XMLNS_ANNOTATIONS;
474 
476  GLOOX_API extern const std::string XMLNS_ROSTER_DELIMITER;
477 
479  GLOOX_API extern const std::string XMLNS_XMPP_PING;
480 
482  GLOOX_API extern const std::string XMLNS_SI;
483 
485  GLOOX_API extern const std::string XMLNS_SI_FT;
486 
488  GLOOX_API extern const std::string XMLNS_BYTESTREAMS;
489 
491  GLOOX_API extern const std::string XMLNS_MUC;
492 
494  GLOOX_API extern const std::string XMLNS_MUC_USER;
495 
497  GLOOX_API extern const std::string XMLNS_MUC_ADMIN;
498 
500  GLOOX_API extern const std::string XMLNS_MUC_UNIQUE;
501 
503  GLOOX_API extern const std::string XMLNS_MUC_OWNER;
504 
506  GLOOX_API extern const std::string XMLNS_MUC_ROOMINFO;
507 
509  GLOOX_API extern const std::string XMLNS_MUC_ROOMS;
510 
512  GLOOX_API extern const std::string XMLNS_MUC_REQUEST;
513 
515  GLOOX_API extern const std::string XMLNS_PUBSUB;
516 
518  GLOOX_API extern const std::string XMLNS_PUBSUB_ERRORS;
519 
521  GLOOX_API extern const std::string XMLNS_PUBSUB_EVENT;
522 
524  GLOOX_API extern const std::string XMLNS_PUBSUB_OWNER;
525 
527  GLOOX_API extern const std::string XMLNS_CAPS;
528 
530  GLOOX_API extern const std::string XMLNS_FT_FASTMODE;
531 
533  GLOOX_API extern const std::string XMLNS_STREAM;
534 
536  GLOOX_API extern const std::string XMLNS_XMPP_STREAM;
537 
539  GLOOX_API extern const std::string XMLNS_XMPP_STANZAS;
540 
542  GLOOX_API extern const std::string XMLNS_STREAM_TLS;
543 
545  GLOOX_API extern const std::string XMLNS_STREAM_SASL;
546 
548  GLOOX_API extern const std::string XMLNS_STREAM_BIND;
549 
551  GLOOX_API extern const std::string XMLNS_STREAM_SESSION;
552 
554  GLOOX_API extern const std::string XMLNS_STREAM_IQAUTH;
555 
557  GLOOX_API extern const std::string XMLNS_STREAM_IQREGISTER;
558 
560  GLOOX_API extern const std::string XMLNS_STREAM_COMPRESS;
561 
563  GLOOX_API extern const std::string XMLNS_HTTPBIND;
564 
566  GLOOX_API extern const std::string XMLNS_XMPP_BOSH;
567 
569  GLOOX_API extern const std::string XMLNS_RECEIPTS;
570 
572  GLOOX_API extern const std::string XMLNS_NICKNAME;
573 
575  GLOOX_API extern const std::string XMLNS_JABBER_RPC;
576 
578  GLOOX_API extern const std::string XMLNS_JINGLE;
579 
581  GLOOX_API extern const std::string XMLNS_JINGLE_ERRORS;
582 
584  GLOOX_API extern const std::string XMLNS_JINGLE_ICE_UDP;
585 
587  GLOOX_API extern const std::string XMLNS_JINGLE_FILE_TRANSFER;
588 
590  GLOOX_API extern const std::string XMLNS_JINGLE_FILE_TRANSFER_MULTI;
591 
593  GLOOX_API extern const std::string XMLNS_SHIM;
594 
596  GLOOX_API extern const std::string XMLNS_ATTENTION;
597 
599  GLOOX_API extern const std::string XMLNS_STREAM_MANAGEMENT;
600 
602  GLOOX_API extern const std::string XMLNS_STANZA_FORWARDING;
603 
605  GLOOX_API extern const std::string XMLNS_MESSAGE_CARBONS;
606 
608  GLOOX_API extern const std::string XMLNS_CLIENT_STATE_INDICATION;
609 
611  GLOOX_API extern const std::string XMLNS_HASHES;
612 
614  GLOOX_API extern const std::string XMLNS_IODATA;
615 
617  GLOOX_API extern const std::string XMPP_STREAM_VERSION_MAJOR;
618 
620  GLOOX_API extern const std::string XMPP_STREAM_VERSION_MINOR;
621 
623  GLOOX_API extern const std::string GLOOX_VERSION;
624 
626  GLOOX_API extern const std::string GLOOX_CAPS_NODE;
627 
629  GLOOX_API extern const std::string XMLNS;
630 
632  GLOOX_API extern const std::string TYPE;
633 
635  GLOOX_API extern const std::string EmptyString;
636 
641  {
646  };
647 
653  {
678  };
679 
684  {
700  ConnDnsError,
705  ConnTlsFailed,
716  };
717 
722  {
725  TLSRequired
728  };
729 
734  {
741  StreamFeatureIqAuth = 32,
749  // SaslMechanism below must be adjusted accordingly.
750  };
751 
755  // must be adjusted with changes to StreamFeature enum above
757  {
762  SaslMechPlain = 8192,
763  SaslMechAnonymous = 16384,
766  SaslMechGssapi = 65536,
767  SaslMechNTLM = 131072,
768  SaslMechAll = 262143
769  };
770 
775  {
851  };
852 
857  {
865  };
866 
872  {
873 
953  };
954 
958 // enum Presence
959 // {
960 // PresenceUnknown, /**< Unknown status. */
961 // PresenceAvailable, /**< The entity or resource is online and available. */
962 // PresenceChat, /**< The entity or resource is actively interested in chatting. */
963 // PresenceAway, /**< The entity or resource is temporarily away. */
964 // PresenceDnd, /**< The entity or resource is busy (dnd = "Do Not Disturb"). */
965 // PresenceXa, /**< The entity or resource is away for an extended period (xa =
966 // * "eXtended Away"). */
967 // PresenceUnavailable /**< The entity or resource is offline. */
968 // };
969 
974  {
975  CertOk = 0,
981  CertWrongPeer = 32,
983  CertSignerNotCa = 64
984  };
985 
989  struct CertInfo
990  {
991  int status;
992  bool chain;
993  std::string issuer;
994  std::string server;
995  int date_from;
998  int date_to;
1001  std::string protocol;
1002  std::string cipher;
1003  std::string mac;
1004  std::string compression;
1005  };
1006 
1011  {
1013  SaslAborted,
1047  };
1048 
1052  enum LogArea
1053  {
1054  LogAreaClassParser = 0x000001,
1056  LogAreaClassClient = 0x000004,
1059  LogAreaClassDns = 0x000020,
1069  LogAreaAllClasses = 0x01FFFF,
1070  LogAreaXmlIncoming = 0x020000,
1071  LogAreaXmlOutgoing = 0x040000,
1072  LogAreaUser = 0x800000,
1073  LogAreaAll = 0xFFFFFF
1074  };
1075 
1080  {
1083  LogLevelError
1084  };
1085 
1090  {
1091  MessageEventOffline = 1,
1093  MessageEventDelivered = 2,
1098  MessageEventCancel = 32
1099  };
1100 
1105  {
1110  ChatStateGone = 16,
1112  ChatStateInvalid = 32
1113  };
1114 
1119  {
1124  };
1125 
1130  {
1136  };
1137 
1142  {
1144  FilterChatStates = 2
1145  };
1146 
1151  {
1158  };
1159 
1164  {
1169  RoleInvalid
1170  };
1171 
1176  {
1180  FlagHidden = 1<< 4,
1182  FlagModerated = 1<< 6,
1184  FlagOpen = 1<< 8,
1185  FlagPersistent = 1<< 9,
1186  FlagPublic = 1<<10,
1188  FlagTemporary = 1<<12,
1190  FlagUnsecured = 1<<14,
1191  FlagFullyAnonymous = 1<<15
1192  // keep in sync with MUCUserFlag below
1193  };
1194 
1198  // keep in sync with MUCRoomFlag above
1200  {
1201  UserSelf = 1<<16,
1203  UserKicked = 1<<18,
1204  UserBanned = 1<<19,
1205  UserAffiliationChanged = 1<<20,
1208  UserNickAssigned = 1<<22,
1210  UserNewRoom = 1<<23,
1211  UserMembershipRequired = 1<<24,
1214  UserRoomShutdown = 1<<25,
1216  UserAffiliationChangedWNR = 1<<26
1218  };
1219 
1224  {
1225  S10nNone,
1227  S10nNoneOut,
1230  S10nNoneIn,
1235  S10nNoneOutIn,
1240  S10nToIn,
1243  S10nFromOut,
1245  S10nBoth
1246  };
1247 
1251  typedef std::list<std::string> StringList;
1252 
1256  typedef std::list<std::string*> StringPList;
1257 
1261  typedef std::map<std::string, std::string> StringMap;
1262 
1266  typedef std::multimap<std::string, std::string> StringMultiMap;
1267 
1268  class StanzaExtension;
1272  typedef std::list<const StanzaExtension*> StanzaExtensionList;
1273 }
1274 
1275 extern "C"
1276 {
1277  GLOOX_API const char* gloox_version();
1278 }
1279 
1280 #endif // GLOOX_H__
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
The namespace for the gloox library.
Definition: adhoc.cpp:28
const std::string XMLNS_DISCO_PUBLISH
Definition: gloox.cpp:25
const std::string XMLNS_STREAM
Definition: gloox.cpp:84
const std::string XMLNS_STREAM_COMPRESS
Definition: gloox.cpp:95
const std::string XMLNS_LAST
Definition: gloox.cpp:45
const std::string XMLNS_FT_FASTMODE
Definition: gloox.cpp:83
std::list< std::string * > StringPList
Definition: gloox.h:1256
const std::string XMLNS_X_VCARD_UPDATE
Definition: gloox.cpp:57
const std::string XMLNS_X_GPGENCRYPTED
Definition: gloox.cpp:55
StreamFeature
Definition: gloox.h:734
@ StreamFeatureCompressDclz
Definition: gloox.h:745
@ StreamFeatureStartTls
Definition: gloox.h:738
@ StreamFeatureStreamManagement
Definition: gloox.h:747
@ StreamFeatureCompressZlib
Definition: gloox.h:743
@ StreamFeatureIqRegister
Definition: gloox.h:739
@ StreamFeatureSession
Definition: gloox.h:737
@ StreamFeatureClientStateIndication
Definition: gloox.h:748
@ StreamFeatureIqAuth
Definition: gloox.h:741
@ StreamFeatureBind
Definition: gloox.h:735
@ StreamFeatureUnbind
Definition: gloox.h:736
const std::string XMLNS_IQ_OOB
Definition: gloox.cpp:48
const std::string XMLNS_VERSION
Definition: gloox.cpp:39
const std::string XMLNS_MESSAGE_CARBONS
Definition: gloox.cpp:111
const std::string XMLNS_X_EVENT
Definition: gloox.cpp:50
const std::string GLOOX_VERSION
Definition: gloox.cpp:119
const std::string XMLNS_XMPP_PING
Definition: gloox.cpp:62
const std::string XMLNS_PRIVATE_XML
Definition: gloox.cpp:44
const std::string XMLNS_ATTENTION
Definition: gloox.cpp:108
const std::string XMLNS_DELAY
Definition: gloox.cpp:37
std::multimap< std::string, std::string > StringMultiMap
Definition: gloox.h:1266
const std::string XMLNS_XMPP_STREAM
Definition: gloox.cpp:85
const std::string XMLNS_RECEIPTS
Definition: gloox.cpp:98
MessageEventType
Definition: gloox.h:1090
@ MessageEventComposing
Definition: gloox.h:1096
@ MessageEventCancel
Definition: gloox.h:1098
@ MessageEventDisplayed
Definition: gloox.h:1095
@ MessageEventOffline
Definition: gloox.h:1091
@ MessageEventInvalid
Definition: gloox.h:1097
@ MessageEventDelivered
Definition: gloox.h:1093
const std::string XMLNS_COMPONENT_CONNECT
Definition: gloox.cpp:21
const std::string XMLNS_MUC_UNIQUE
Definition: gloox.cpp:71
const std::string XMLNS_XMPP_STANZAS
Definition: gloox.cpp:86
const std::string XMLNS_JINGLE
Definition: gloox.cpp:101
const std::string XMLNS_X_OOB
Definition: gloox.cpp:51
const std::string XMLNS_MUC_ROOMINFO
Definition: gloox.cpp:73
const std::string XMLNS_JINGLE_FILE_TRANSFER_MULTI
Definition: gloox.cpp:105
const std::string XMLNS_STREAM_BIND
Definition: gloox.cpp:90
const std::string XMLNS_MUC_OWNER
Definition: gloox.cpp:72
const std::string XMLNS_IBB
Definition: gloox.cpp:32
ConnectionError
Definition: gloox.h:684
@ ConnUserDisconnected
Definition: gloox.h:714
@ ConnAuthenticationFailed
Definition: gloox.h:712
@ ConnProxyNoSupportedAuth
Definition: gloox.h:694
@ ConnParseError
Definition: gloox.h:697
@ ConnNotConnected
Definition: gloox.h:715
@ ConnProxyAuthFailed
Definition: gloox.h:692
@ ConnProxyAuthRequired
Definition: gloox.h:690
@ ConnConnectionRefused
Definition: gloox.h:698
@ ConnNoSupportedAuth
Definition: gloox.h:703
@ ConnOutOfMemory
Definition: gloox.h:702
@ ConnTlsFailed
Definition: gloox.h:705
@ ConnDnsError
Definition: gloox.h:700
@ ConnNoError
Definition: gloox.h:685
@ ConnStreamVersionError
Definition: gloox.h:688
@ ConnStreamClosed
Definition: gloox.h:689
@ ConnIoError
Definition: gloox.h:696
@ ConnCompressionFailed
Definition: gloox.h:710
@ ConnTlsNotAvailable
Definition: gloox.h:707
@ ConnStreamError
Definition: gloox.h:686
std::list< const StanzaExtension * > StanzaExtensionList
Definition: gloox.h:1268
LogArea
Definition: gloox.h:1053
@ LogAreaClassConnectionTCPClient
Definition: gloox.h:1062
@ LogAreaXmlIncoming
Definition: gloox.h:1070
@ LogAreaClassConnectionBOSH
Definition: gloox.h:1066
@ LogAreaClassDns
Definition: gloox.h:1059
@ LogAreaUser
Definition: gloox.h:1072
@ LogAreaClassS5BManager
Definition: gloox.h:1064
@ LogAreaClassConnectionTCPServer
Definition: gloox.h:1063
@ LogAreaAll
Definition: gloox.h:1073
@ LogAreaAllClasses
Definition: gloox.h:1069
@ LogAreaClassConnectionHTTPProxy
Definition: gloox.h:1060
@ LogAreaXmlOutgoing
Definition: gloox.h:1071
@ LogAreaClassConnectionSOCKS5Proxy
Definition: gloox.h:1061
@ LogAreaClassClient
Definition: gloox.h:1056
@ LogAreaClassConnectionTLS
Definition: gloox.h:1067
@ LogAreaClassClientbase
Definition: gloox.h:1057
@ LogAreaClassComponent
Definition: gloox.h:1058
@ LogAreaClassParser
Definition: gloox.h:1054
@ LogAreaLinkLocalManager
Definition: gloox.h:1068
@ LogAreaClassSOCKS5Bytestream
Definition: gloox.h:1065
@ LogAreaClassConnectionTCPBase
Definition: gloox.h:1055
const std::string XMLNS_STREAM_IQREGISTER
Definition: gloox.cpp:93
const std::string XMLNS_STANZA_FORWARDING
Definition: gloox.cpp:110
const std::string XMPP_STREAM_VERSION_MAJOR
Definition: gloox.cpp:117
const std::string XMLNS_REGISTER
Definition: gloox.cpp:41
const std::string XMLNS_COMPONENT_ACCEPT
Definition: gloox.cpp:20
const std::string XMLNS_FEATURE_NEG
Definition: gloox.cpp:33
MUCRoomRole
Definition: gloox.h:1164
@ RoleParticipant
Definition: gloox.h:1167
@ RoleInvalid
Definition: gloox.h:1169
@ RoleModerator
Definition: gloox.h:1168
@ RoleVisitor
Definition: gloox.h:1166
@ RoleNone
Definition: gloox.h:1165
std::list< std::string > StringList
Definition: gloox.h:1251
const std::string XMLNS_MUC_REQUEST
Definition: gloox.cpp:75
const std::string XMLNS_NICKNAME
Definition: gloox.cpp:99
GLOOX_API const std::string XMLNS_JABBER_RPC
AuthenticationError
Definition: gloox.h:1011
@ SaslInvalidMechanism
Definition: gloox.h:1026
@ SaslMalformedRequest
Definition: gloox.h:1029
@ SaslIncorrectEncoding
Definition: gloox.h:1016
@ SaslMechanismTooWeak
Definition: gloox.h:1033
@ SaslTemporaryAuthFailure
Definition: gloox.h:1041
@ SaslAborted
Definition: gloox.h:1013
@ NonSaslConflict
Definition: gloox.h:1044
@ NonSaslNotAuthorized
Definition: gloox.h:1046
@ AuthErrorUndefined
Definition: gloox.h:1012
@ SaslNotAuthorized
Definition: gloox.h:1037
@ SaslInvalidAuthzid
Definition: gloox.h:1021
@ NonSaslNotAcceptable
Definition: gloox.h:1045
const std::string XMLNS_CLIENT
Definition: gloox.cpp:19
StreamEvent
Definition: gloox.h:653
@ StreamEventSMResumed
Definition: gloox.h:665
@ StreamEventConnecting
Definition: gloox.h:654
@ StreamEventResourceBinding
Definition: gloox.h:659
@ StreamEventEncryption
Definition: gloox.h:655
@ StreamEventCompression
Definition: gloox.h:656
@ StreamEventSMResume
Definition: gloox.h:662
@ StreamEventAuthentication
Definition: gloox.h:657
@ StreamEventRoster
Definition: gloox.h:676
@ StreamEventSMResumeFailed
Definition: gloox.h:671
@ StreamEventSessionInit
Definition: gloox.h:658
@ StreamEventSMEnable
Definition: gloox.h:660
@ StreamEventFinished
Definition: gloox.h:677
@ StreamEventSMEnableFailed
Definition: gloox.h:668
@ StreamEventSessionCreation
Definition: gloox.h:674
const std::string XMLNS_X_DELAY
Definition: gloox.cpp:53
const std::string XMLNS_DISCO_ITEMS
Definition: gloox.cpp:24
const std::string XMLNS_PUBSUB_ERRORS
Definition: gloox.cpp:78
const std::string XMLNS_ANNOTATIONS
Definition: gloox.cpp:60
const std::string XMLNS_STREAM_SASL
Definition: gloox.cpp:89
const std::string XMLNS_BOOKMARKS
Definition: gloox.cpp:59
const std::string XMLNS_PUBSUB_EVENT
Definition: gloox.cpp:79
const std::string XMLNS_X_DATA
Definition: gloox.cpp:49
MUCUserFlag
Definition: gloox.h:1200
@ UserBanned
Definition: gloox.h:1204
@ UserNewRoom
Definition: gloox.h:1210
@ UserRoomDestroyed
Definition: gloox.h:1207
@ UserRoomShutdown
Definition: gloox.h:1214
@ UserSelf
Definition: gloox.h:1201
@ UserNickChanged
Definition: gloox.h:1202
@ UserNickAssigned
Definition: gloox.h:1208
@ UserKicked
Definition: gloox.h:1203
@ UserAffiliationChangedWNR
Definition: gloox.h:1216
@ UserMembershipRequired
Definition: gloox.h:1211
@ UserAffiliationChanged
Definition: gloox.h:1205
const std::string XMLNS_VCARD_TEMP
Definition: gloox.cpp:56
const std::string GLOOX_CAPS_NODE
Definition: gloox.cpp:120
ChatStateType
Definition: gloox.h:1105
@ ChatStateInvalid
Definition: gloox.h:1112
@ ChatStateActive
Definition: gloox.h:1106
@ ChatStatePaused
Definition: gloox.h:1108
@ ChatStateGone
Definition: gloox.h:1110
@ ChatStateInactive
Definition: gloox.h:1109
@ ChatStateComposing
Definition: gloox.h:1107
const std::string XMPP_STREAM_VERSION_MINOR
Definition: gloox.cpp:118
SessionCreateError
Definition: gloox.h:1130
@ ScErrorUnknownError
Definition: gloox.h:1131
@ ScErrorConflict
Definition: gloox.h:1134
@ ScErrorForbidden
Definition: gloox.h:1133
@ ScErrorInternalServerError
Definition: gloox.h:1132
MessageSessionFilter
Definition: gloox.h:1142
@ FilterMessageEvents
Definition: gloox.h:1143
@ FilterChatStates
Definition: gloox.h:1144
const std::string XMLNS_DISCO_INFO
Definition: gloox.cpp:23
TLSPolicy
Definition: gloox.h:722
@ TLSOptional
Definition: gloox.h:724
@ TLSRequired
Definition: gloox.h:725
@ TLSDisabled
Definition: gloox.h:723
const std::string XMLNS_STREAM_SESSION
Definition: gloox.cpp:91
const std::string EmptyString
Definition: gloox.cpp:124
const std::string XMLNS_STREAM_IQAUTH
Definition: gloox.cpp:92
const std::string XMLNS
Definition: gloox.cpp:122
const std::string TYPE
Definition: gloox.cpp:123
const std::string XMLNS_CLIENT_STATE_INDICATION
Definition: gloox.cpp:115
const std::string XMLNS_SI_FT
Definition: gloox.cpp:65
const std::string XMLNS_ROSTER
Definition: gloox.cpp:38
StanzaError
Definition: gloox.h:872
@ StanzaErrorUndefinedCondition
Definition: gloox.h:941
@ StanzaErrorUndefined
Definition: gloox.h:952
@ StanzaErrorPaymentRequired
Definition: gloox.h:911
@ StanzaErrorResourceConstraint
Definition: gloox.h:934
@ StanzaErrorServiceUnavailable
Definition: gloox.h:936
@ StanzaErrorItemNotFound
Definition: gloox.h:893
@ StanzaErrorRecipientUnavailable
Definition: gloox.h:914
@ StanzaErrorGone
Definition: gloox.h:886
@ StanzaErrorFeatureNotImplemented
Definition: gloox.h:881
@ StanzaErrorRemoteServerTimeout
Definition: gloox.h:930
@ StanzaErrorNotAllowed
Definition: gloox.h:904
@ StanzaErrorForbidden
Definition: gloox.h:884
@ StanzaErrorConflict
Definition: gloox.h:878
@ StanzaErrorRegistrationRequired
Definition: gloox.h:924
@ StanzaErrorJidMalformed
Definition: gloox.h:895
@ StanzaErrorNotAuthorized
Definition: gloox.h:906
@ StanzaErrorSubscribtionRequired
Definition: gloox.h:938
@ StanzaErrorUnknownSender
Definition: gloox.h:948
@ StanzaErrorInternalServerError
Definition: gloox.h:890
@ StanzaErrorRemoteServerNotFound
Definition: gloox.h:927
@ StanzaErrorUnexpectedRequest
Definition: gloox.h:945
@ StanzaErrorBadRequest
Definition: gloox.h:874
@ StanzaErrorNotAcceptable
Definition: gloox.h:900
@ StanzaErrorRedirect
Definition: gloox.h:919
@ StanzaErrorNotModified
Definition: gloox.h:909
const std::string XMLNS_AMP
Definition: gloox.cpp:31
const std::string XMLNS_PRIVACY
Definition: gloox.cpp:42
const std::string XMLNS_IODATA
Definition: gloox.cpp:114
const std::string XMLNS_MUC_USER
Definition: gloox.cpp:68
const std::string XMLNS_MUC_ADMIN
Definition: gloox.cpp:69
StreamError
Definition: gloox.h:775
@ StreamErrorBadNamespacePrefix
Definition: gloox.h:782
@ StreamErrorInvalidId
Definition: gloox.h:805
@ StreamErrorConflict
Definition: gloox.h:785
@ StreamErrorPolicyViolation
Definition: gloox.h:817
@ StreamErrorInvalidFrom
Definition: gloox.h:801
@ StreamErrorSeeOtherHost
Definition: gloox.h:827
@ StreamErrorRemoteConnectionFailed
Definition: gloox.h:820
@ StreamErrorRestrictedXml
Definition: gloox.h:824
@ StreamErrorUndefined
Definition: gloox.h:848
@ StreamErrorBadFormat
Definition: gloox.h:776
@ StreamErrorImproperAddressing
Definition: gloox.h:796
@ StreamErrorInvalidNamespace
Definition: gloox.h:807
@ StreamErrorResourceConstraint
Definition: gloox.h:822
@ StreamErrorInternalServerError
Definition: gloox.h:798
@ StreamErrorUnsupportedEncoding
Definition: gloox.h:837
@ StreamErrorUnsupportedStanzaType
Definition: gloox.h:840
@ StreamErrorSystemShutdown
Definition: gloox.h:832
@ StreamErrorUnsupportedVersion
Definition: gloox.h:842
@ StreamErrorConnectionTimeout
Definition: gloox.h:788
@ StreamErrorNotAuthorized
Definition: gloox.h:813
@ StreamErrorXmlNotWellFormed
Definition: gloox.h:846
@ StreamErrorUndefinedCondition
Definition: gloox.h:834
@ StreamErrorHostUnknown
Definition: gloox.h:793
@ StreamErrorHostGone
Definition: gloox.h:790
@ StreamErrorInvalidXml
Definition: gloox.h:811
const std::string XMLNS_X_GPGSIGNED
Definition: gloox.cpp:54
const std::string XMLNS_AUTH
Definition: gloox.cpp:43
const std::string XMLNS_SI
Definition: gloox.cpp:63
const std::string XMLNS_CAPS
Definition: gloox.cpp:81
const std::string XMLNS_COMPRESSION
Definition: gloox.cpp:27
CertStatus
Definition: gloox.h:974
@ CertExpired
Definition: gloox.h:979
@ CertOk
Definition: gloox.h:975
@ CertWrongPeer
Definition: gloox.h:981
@ CertSignerUnknown
Definition: gloox.h:977
@ CertSignerNotCa
Definition: gloox.h:983
@ CertInvalid
Definition: gloox.h:976
@ CertNotActive
Definition: gloox.h:980
@ CertRevoked
Definition: gloox.h:978
MUCRoomAffiliation
Definition: gloox.h:1151
@ AffiliationInvalid
Definition: gloox.h:1157
@ AffiliationOwner
Definition: gloox.h:1155
@ AffiliationMember
Definition: gloox.h:1154
@ AffiliationNone
Definition: gloox.h:1152
@ AffiliationAdmin
Definition: gloox.h:1156
@ AffiliationOutcast
Definition: gloox.h:1153
const std::string XMLNS_SHIM
Definition: gloox.cpp:107
const std::string XMLNS_ADHOC_COMMANDS
Definition: gloox.cpp:26
const std::string XMLNS_JINGLE_ERRORS
Definition: gloox.cpp:102
StanzaErrorType
Definition: gloox.h:857
@ StanzaErrorTypeAuth
Definition: gloox.h:858
@ StanzaErrorTypeCancel
Definition: gloox.h:859
@ StanzaErrorTypeUndefined
Definition: gloox.h:864
@ StanzaErrorTypeWait
Definition: gloox.h:863
@ StanzaErrorTypeContinue
Definition: gloox.h:860
@ StanzaErrorTypeModify
Definition: gloox.h:861
SubscriptionType
Definition: gloox.h:1224
@ S10nFromOut
Definition: gloox.h:1243
@ S10nNone
Definition: gloox.h:1225
@ S10nToIn
Definition: gloox.h:1240
@ S10nFrom
Definition: gloox.h:1242
@ S10nBoth
Definition: gloox.h:1245
@ S10nNoneIn
Definition: gloox.h:1230
@ S10nNoneOutIn
Definition: gloox.h:1235
@ S10nNoneOut
Definition: gloox.h:1227
@ S10nTo
Definition: gloox.h:1239
const std::string XMLNS_PUBSUB_OWNER
Definition: gloox.cpp:80
LogLevel
Definition: gloox.h:1080
@ LogLevelWarning
Definition: gloox.h:1082
@ LogLevelError
Definition: gloox.h:1083
@ LogLevelDebug
Definition: gloox.h:1081
SaslMechanism
Definition: gloox.h:757
@ SaslMechScramSha1Plus
Definition: gloox.h:760
@ SaslMechNTLM
Definition: gloox.h:767
@ SaslMechDigestMd5
Definition: gloox.h:761
@ SaslMechAll
Definition: gloox.h:768
@ SaslMechExternal
Definition: gloox.h:765
@ SaslMechGssapi
Definition: gloox.h:766
@ SaslMechScramSha1
Definition: gloox.h:759
@ SaslMechNone
Definition: gloox.h:758
@ SaslMechAnonymous
Definition: gloox.h:763
@ SaslMechPlain
Definition: gloox.h:762
ConnectionState
Definition: gloox.h:641
@ StateDisconnected
Definition: gloox.h:642
@ StateConnected
Definition: gloox.h:644
@ StateConnecting
Definition: gloox.h:643
const std::string XMLNS_STREAM_TLS
Definition: gloox.cpp:87
const std::string XMLNS_CHAT_STATES
Definition: gloox.cpp:30
const std::string XMLNS_OFFLINE
Definition: gloox.cpp:29
const std::string XMLNS_XMPP_BOSH
Definition: gloox.cpp:97
const std::string XMLNS_ROSTER_DELIMITER
Definition: gloox.cpp:61
ResourceBindError
Definition: gloox.h:1119
@ RbErrorUnknownError
Definition: gloox.h:1120
@ RbErrorConflict
Definition: gloox.h:1123
@ RbErrorBadRequest
Definition: gloox.h:1121
@ RbErrorNotAllowed
Definition: gloox.h:1122
const std::string XMLNS_BYTESTREAMS
Definition: gloox.cpp:66
const std::string XMLNS_SEARCH
Definition: gloox.cpp:47
const std::string XMLNS_JINGLE_ICE_UDP
Definition: gloox.cpp:103
const std::string XMLNS_MUC_ROOMS
Definition: gloox.cpp:74
std::map< std::string, std::string > StringMap
Definition: gloox.h:1261
const std::string XMLNS_STREAM_MANAGEMENT
Definition: gloox.cpp:109
MUCRoomFlag
Definition: gloox.h:1176
@ FlagPublicLoggingOff
Definition: gloox.h:1179
@ FlagHidden
Definition: gloox.h:1180
@ FlagMembersOnly
Definition: gloox.h:1181
@ FlagTemporary
Definition: gloox.h:1188
@ FlagPersistent
Definition: gloox.h:1185
@ FlagModerated
Definition: gloox.h:1182
@ FlagOpen
Definition: gloox.h:1184
@ FlagPublicLogging
Definition: gloox.h:1178
@ FlagNonAnonymous
Definition: gloox.h:1183
@ FlagPasswordProtected
Definition: gloox.h:1177
@ FlagSemiAnonymous
Definition: gloox.h:1187
@ FlagUnmoderated
Definition: gloox.h:1189
@ FlagFullyAnonymous
Definition: gloox.h:1191
@ FlagUnsecured
Definition: gloox.h:1190
@ FlagPublic
Definition: gloox.h:1186
const std::string XMLNS_PUBSUB
Definition: gloox.cpp:77
const std::string XMLNS_HTTPBIND
Definition: gloox.cpp:96
const std::string XMLNS_XHTML_IM
Definition: gloox.cpp:36
const std::string XMLNS_CHATNEG
Definition: gloox.cpp:35
const std::string XMLNS_HASHES
Definition: gloox.cpp:113
const std::string XMLNS_MUC
Definition: gloox.cpp:67
const std::string XMLNS_JINGLE_FILE_TRANSFER
Definition: gloox.cpp:104
std::string cipher
Definition: gloox.h:1002
bool chain
Definition: gloox.h:992
std::string server
Definition: gloox.h:994
std::string mac
Definition: gloox.h:1003
int date_from
Definition: gloox.h:995
std::string protocol
Definition: gloox.h:1001
std::string issuer
Definition: gloox.h:993
std::string compression
Definition: gloox.h:1004