]> code.citadel.org Git - citadel.git/blob - citadel/imap_acl.c
* Allow ACL commands without having a folder selected.
[citadel.git] / citadel / imap_acl.c
1 /*
2  * $Id:  $
3  *
4  * Functions which implement RFC2086/RFC4314 (IMAP ACL extension)
5  *
6  */
7
8
9 #include "sysdep.h"
10 #include <stdlib.h>
11 #include <unistd.h>
12 #include <stdio.h>
13 #include <fcntl.h>
14 #include <signal.h>
15 #include <pwd.h>
16 #include <errno.h>
17 #include <sys/types.h>
18
19 #if TIME_WITH_SYS_TIME
20 # include <sys/time.h>
21 # include <time.h>
22 #else
23 # if HAVE_SYS_TIME_H
24 #  include <sys/time.h>
25 # else
26 #  include <time.h>
27 # endif
28 #endif
29
30 #include <sys/wait.h>
31 #include <ctype.h>
32 #include <string.h>
33 #include <limits.h>
34 #include "citadel.h"
35 #include "server.h"
36 #include "sysdep_decls.h"
37 #include "citserver.h"
38 #include "support.h"
39 #include "config.h"
40 #include "serv_extensions.h"
41 #include "room_ops.h"
42 #include "user_ops.h"
43 #include "policy.h"
44 #include "database.h"
45 #include "msgbase.h"
46 #include "tools.h"
47 #include "internet_addressing.h"
48 #include "serv_imap.h"
49 #include "imap_tools.h"
50 #include "imap_fetch.h"
51 #include "imap_misc.h"
52 #include "genstamp.h"
53
54
55
56 /*
57  * Implements the SETACL command.
58  */
59 void imap_setacl(int num_parms, char *parms[]) {
60
61         cprintf("%s BAD not yet implemented FIXME\r\n", parms[0]);
62         return;
63 }
64
65
66 /*
67  * Implements the DELETEACL command.
68  */
69 void imap_deleteacl(int num_parms, char *parms[]) {
70
71         cprintf("%s BAD not yet implemented FIXME\r\n", parms[0]);
72         return;
73 }
74
75
76 /*
77  * Implements the GETACL command.
78  */
79 void imap_getacl(int num_parms, char *parms[]) {
80
81         cprintf("%s BAD not yet implemented FIXME\r\n", parms[0]);
82         return;
83 }
84
85
86 /*
87  * Implements the LISTRIGHTS command.
88  */
89 void imap_listrights(int num_parms, char *parms[]) {
90
91         cprintf("%s BAD not yet implemented FIXME\r\n", parms[0]);
92         return;
93 }
94
95
96 /*
97  * Implements the MYRIGHTS command.
98  */
99 void imap_myrights(int num_parms, char *parms[]) {
100
101         cprintf("%s BAD not yet implemented FIXME\r\n", parms[0]);
102         return;
103 }
104
105