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)  

citadel_dirs.c File Reference
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include <syslog.h>
#include <libcitadel.h>
#include "citadel.h"
#include "citadel_dirs.h"
Include dependency graph for citadel_dirs.c:

Go to the source code of this file.

Functions

size_t assoc_file_name (char *buf, size_t n, struct ctdlroom *qrbuf, const char *prefix)
 
int create_dir (char *which, long ACCESS, long UID, long GID)
 
int create_run_directories (long UID, long GID)
 

Function Documentation

◆ assoc_file_name()

size_t assoc_file_name ( char *  buf,
size_t  n,
struct ctdlroom qrbuf,
const char *  prefix 
)

Definition at line 23 of file citadel_dirs.c.

References qrbuf, and ctdlroom::QRnumber.

Referenced by iorarf_backend().

◆ create_dir()

int create_dir ( char *  which,
long  ACCESS,
long  UID,
long  GID 
)

Definition at line 28 of file citadel_dirs.c.

Referenced by create_run_directories().

◆ create_run_directories()

int create_run_directories ( long  UID,
long  GID 
)

Definition at line 52 of file citadel_dirs.c.

References create_dir(), ctdl_file_dir, ctdl_key_dir, ctdl_message_dir, and ctdl_run_dir.

Referenced by master_startup().