citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

serv_wiki.c File Reference
#include "sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <ctype.h>
#include <sys/types.h>
#include <time.h>
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
#include <libcitadel.h>
#include "citadel.h"
#include "server.h"
#include "citserver.h"
#include "support.h"
#include "config.h"
#include "control.h"
#include "user_ops.h"
#include "room_ops.h"
#include "database.h"
#include "msgbase.h"
#include "euidindex.h"
#include "ctdl_module.h"
Include dependency graph for serv_wiki.c:

Go to the source code of this file.

Data Structures

struct  HistoryEraserCallBackData
 

Functions

int wiki_upload_beforesave (struct CtdlMessage *msg, struct recptypes *recp)
 
void wiki_history_callback (char *name, char *filename, char *partnum, char *disp, void *content, char *cbtype, char *cbcharset, size_t length, char *encoding, char *cbid, void *cbuserdata)
 
void wiki_history (char *pagename)
 
void wiki_rev_callback (char *name, char *filename, char *partnum, char *disp, void *content, char *cbtype, char *cbcharset, size_t length, char *encoding, char *cbid, void *cbuserdata)
 
void wiki_rev (char *pagename, char *rev, char *operation)
 
void cmd_wiki (char *argbuf)
 
char * ctdl_module_wiki_init (int threading)
 

Variables

char * wwm = "9999999999.WikiWaybackMachine"
 

Function Documentation

◆ cmd_wiki()

void cmd_wiki ( char *  argbuf)

Definition at line 688 of file serv_wiki.c.

References CMD_NOT_SUPPORTED, cprintf(), ERROR, wiki_history(), and wiki_rev().

Referenced by ctdl_module_wiki_init().

◆ ctdl_module_wiki_init()

char * ctdl_module_wiki_init ( int  threading)

◆ wiki_history()

◆ wiki_history_callback()

void wiki_history_callback ( char *  name,
char *  filename,
char *  partnum,
char *  disp,
void *  content,
char *  cbtype,
char *  cbcharset,
size_t  length,
char *  encoding,
char *  cbid,
void *  cbuserdata 
)

Definition at line 361 of file serv_wiki.c.

References cprintf().

Referenced by wiki_history().

◆ wiki_rev()

◆ wiki_rev_callback()

void wiki_rev_callback ( char *  name,
char *  filename,
char *  partnum,
char *  disp,
void *  content,
char *  cbtype,
char *  cbcharset,
size_t  length,
char *  encoding,
char *  cbid,
void *  cbuserdata 
)

◆ wiki_upload_beforesave()

Variable Documentation

◆ wwm

char* wwm = "9999999999.WikiWaybackMachine"

Definition at line 56 of file serv_wiki.c.

Referenced by wiki_rev().