aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-22 12:23:18 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-22 12:23:18 +0100
commitad46e4d3ed1997e6b3f718a7a8be9a37eb63388d (patch)
treed42f7ec8c32775ed2344dc50fb816b5618830268 /protocols/jabber/jabber.h
parentf1c870a20c1c8a1173fe6244952518f015fc1346 (diff)
Use initgroups() as well when dropping privileges. Closes bug #852.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index adf9a291..364d561c 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -46,6 +46,7 @@ typedef enum
activates all XEP-85 related code. */
JFLAG_XMLCONSOLE = 64, /* If the user added an xmlconsole buddy. */
JFLAG_STARTTLS_DONE = 128, /* If a plaintext session was converted to TLS. */
+ JFLAG_MOCK = 256, /* If the user added a mock buddy. */
} jabber_flags_t;
typedef enum
@@ -187,6 +188,7 @@ struct jabber_transfer
};
#define JABBER_XMLCONSOLE_HANDLE "xmlconsole"
+#define JABBER_MOCK_HANDLE "mock"
/* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the
first one should be used, but when storing a packet in the cache, a