Mercurial > ~mikael > mcabber > hg
diff mcabber/src/utils.h @ 1598:a087125d8fc8
Replace libjabber with loudmouth
author | franky |
---|---|
date | Sun, 11 Oct 2009 15:38:32 +0200 |
parents | 72dd9c768f58 |
children | f9bf561e54d0 |
line wrap: on
line diff
--- a/mcabber/src/utils.h Thu Oct 08 19:40:23 2009 +0200 +++ b/mcabber/src/utils.h Sun Oct 11 15:38:32 2009 +0200 @@ -14,6 +14,14 @@ #define JID_DOMAIN_SEPARATOR '@' #define JID_DOMAIN_SEPARATORSTR "@" +char *jidtodisp(const char *fjid); +char *compose_jid(const char *username, const char *servername, + const char *resource); +gboolean jid_equal(const char *jid1, const char *jid2); + +void fingerprint_to_hex(const unsigned char *fpr, char hex[49]); +gboolean hex_to_fingerprint(const char * hex, char fpr[16]); + void ut_InitDebug(int level, const char *file); void ut_WriteLog(unsigned int flag, const char *data);