X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fxmpp%2Fserv_xmpp.h;fp=citadel%2Fmodules%2Fxmpp%2Fserv_xmpp.h;h=222c8f79ff738cea78182c4559e79221831b8064;hb=aaffd92765c6a7fa51e97e44693a648a6328e4f5;hp=27f3410544f857ee5defc7d907e19a9b4702da76;hpb=8525b78f19ebdac69cae4dbed3a790093904522b;p=citadel.git diff --git a/citadel/modules/xmpp/serv_xmpp.h b/citadel/modules/xmpp/serv_xmpp.h index 27f341054..222c8f79f 100644 --- a/citadel/modules/xmpp/serv_xmpp.h +++ b/citadel/modules/xmpp/serv_xmpp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007-2009 by the citadel.org team + * Copyright (c) 2007-2017 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -77,15 +77,3 @@ void xmpp_massacre_roster(void); void xmpp_delete_old_buddies_who_no_longer_exist_from_the_client_roster(void); int xmpp_is_visible(struct CitContext *from, struct CitContext *to_whom); char *xmlesc(char *buf, char *str, int bufsiz); - -extern int XMPPSrvDebugEnable; - -#define DBGLOG(LEVEL) if ((LEVEL != LOG_DEBUG) || (XMPPSrvDebugEnable != 0)) - -#define XMPP_syslog(LEVEL, FORMAT, ...) \ - DBGLOG(LEVEL) syslog(LEVEL, \ - "XMPP: " FORMAT, __VA_ARGS__) - -#define XMPPM_syslog(LEVEL, FORMAT) \ - DBGLOG(LEVEL) syslog(LEVEL, \ - "XMPP: " FORMAT);