projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38283b2
)
* New server command WIKI for subcommands relating to wiki page management
author
Art Cancro
<ajc@citadel.org>
Tue, 20 Oct 2009 21:48:55 +0000
(21:48 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 20 Oct 2009 21:48:55 +0000
(21:48 +0000)
citadel/modules/wiki/serv_wiki.c
patch
|
blob
|
history
diff --git
a/citadel/modules/wiki/serv_wiki.c
b/citadel/modules/wiki/serv_wiki.c
index 9a8b7caab7b50a2506e0eeed8ac6ac676ecf5765..1e6a917a6e7d56442abb8ee9619e70d98b747e7d 100644
(file)
--- a/
citadel/modules/wiki/serv_wiki.c
+++ b/
citadel/modules/wiki/serv_wiki.c
@@
-291,6
+291,16
@@
int wiki_upload_beforesave(struct CtdlMessage *msg) {
}
+
+/*
+ * commands related to wiki management
+ */
+void cmd_wiki(char *argbuf) {
+ cprintf("%d FIXME not finished\n", ERROR);
+}
+
+
+
/*
* Module initialization
*/
@@
-299,6
+309,7
@@
CTDL_MODULE_INIT(wiki)
if (!threading)
{
CtdlRegisterMessageHook(wiki_upload_beforesave, EVT_BEFORESAVE);
+ CtdlRegisterProtoHook(cmd_wiki, "WIKI", "Commands related to Wiki management");
}
/* return our Subversion id for the Log */