diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-03-02 10:21:01 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-03-02 10:21:01 +0100 |
commit | f0e07beacb1ca14822d5ad52a7b4462f15ee47cc (patch) | |
tree | f89e620af3674a038ef0272262343c6f474db3a2 /src/xmpp/jid.hpp | |
parent | 649ebaf1b90a10ddf6da07b28a9b9b7a74297588 (diff) | |
download | biboumi-f0e07beacb1ca14822d5ad52a7b4462f15ee47cc.tar.gz biboumi-f0e07beacb1ca14822d5ad52a7b4462f15ee47cc.tar.bz2 biboumi-f0e07beacb1ca14822d5ad52a7b4462f15ee47cc.tar.xz biboumi-f0e07beacb1ca14822d5ad52a7b4462f15ee47cc.zip |
Forgot to remove some XMPP files that are now in louloulibs instead
Diffstat (limited to 'src/xmpp/jid.hpp')
-rw-r--r-- | src/xmpp/jid.hpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/xmpp/jid.hpp b/src/xmpp/jid.hpp deleted file mode 100644 index b6975a2..0000000 --- a/src/xmpp/jid.hpp +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef JID_INCLUDED -# define JID_INCLUDED - -#include <string> - -/** - * Parse a JID into its different subart - */ -class Jid -{ -public: - explicit Jid(const std::string& jid); - - std::string domain; - std::string local; - std::string resource; - -private: - Jid(const Jid&) = delete; - Jid(Jid&&) = delete; - Jid& operator=(const Jid&) = delete; - Jid& operator=(Jid&&) = delete; -}; - -/** - * Prepare the given UTF-8 string according to the XMPP node stringprep - * identifier profile. This is used to send properly-formed JID to the XMPP - * server. - * - * If the stringprep library is not found, we return an empty string. When - * this function is used, the result must always be checked for an empty - * value, and if this is the case it must not be used as a JID. - */ -std::string jidprep(const std::string& original); - -#endif // JID_INCLUDED |