annotate mcabber/src/compl.h @ 1197:6f602d3270a4

Add /pgp [-]force With this command it becomes possible to enforce PGP encryption without checking if the remote client has PGP support. It can be used to send encrypted offline messages too.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 27 Apr 2007 00:37:57 +0200
parents 03a38b7ad2e0
children 9a68fe4515dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
1 #ifndef __COMPL_H__
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
2 #define __COMPL_H__ 1
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
3
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
4 #include <glib.h>
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
5
965
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
6 #define COMPL_CMD (1U<<0)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
7 #define COMPL_JID (1U<<1)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
8 #define COMPL_URLJID (1U<<2) // Not implemented yet
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
9 #define COMPL_NAME (1U<<3) // Not implemented yet
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
10 #define COMPL_STATUS (1U<<4)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
11 #define COMPL_FILENAME (1U<<5) // Not implemented yet
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
12 #define COMPL_ROSTER (1U<<6)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
13 #define COMPL_BUFFER (1U<<7)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
14 #define COMPL_GROUP (1U<<8)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
15 #define COMPL_GROUPNAME (1U<<9)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
16 #define COMPL_MULTILINE (1U<<10)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
17 #define COMPL_ROOM (1U<<11)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
18 #define COMPL_RESOURCE (1U<<12)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
19 #define COMPL_AUTH (1U<<13)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
20 #define COMPL_REQUEST (1U<<14)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
21 #define COMPL_EVENTS (1U<<15)
1bdf0f1b16c0 Use U suffix for unsigned defines
Mikael Berthe <mikael@lilotux.net>
parents: 757
diff changeset
22 #define COMPL_EVENTSID (1U<<16)
1066
6de60e142372 Add command /pgp
Mikael Berthe <mikael@lilotux.net>
parents: 965
diff changeset
23 #define COMPL_PGP (1U<<17)
94
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
24
98
f20831f7d349 [/trunk] Changeset 112 by mikael
mikael
parents: 95
diff changeset
25 void compl_add_category_word(guint, const char *command);
284
f879b17ecb8e Add compl_del_category_word()
Mikael Berthe <mikael@lilotux.net>
parents: 238
diff changeset
26 void compl_del_category_word(guint categ, const char *word);
1076
b9698c89f46d Fix memory leak in scr_handle_tab()
Mikael Berthe <mikael@lilotux.net>
parents: 1066
diff changeset
27 GSList *compl_get_category_list(guint cat_flags, guint *dynlist);
94
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
28
98
f20831f7d349 [/trunk] Changeset 112 by mikael
mikael
parents: 95
diff changeset
29 void new_completion(char *prefix, GSList *compl_cat);
f20831f7d349 [/trunk] Changeset 112 by mikael
mikael
parents: 95
diff changeset
30 void done_completion(void);
f20831f7d349 [/trunk] Changeset 112 by mikael
mikael
parents: 95
diff changeset
31 guint cancel_completion(void);
94
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
32 const char *complete(void);
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
33
9a4aa2797f02 [/trunk] Changeset 108 by mikael
mikael
parents:
diff changeset
34 #endif /* __COMPL_H__ */
576
8b3db0b555a1 Add Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 501
diff changeset
35
580
fed6d1e4d7a9 Fix modelines
Mikael Berthe <mikael@lilotux.net>
parents: 576
diff changeset
36 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */