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)  

No Matches
serv_upgrade.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 <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 "../../database.h"
#include "../../user_ops.h"
#include "../../msgbase.h"
#include "serv_upgrade.h"
#include "../../euidindex.h"
#include "../../ctdl_module.h"
#include "../../serv_vcard.h"
#include "../../internet_addressing.h"
Include dependency graph for serv_upgrade.c:

Go to the source code of this file.

Data Structures

struct  iorarf_list


void fix_sys_user_name (void)
void reindex_uids_backend (char *username, void *data)
void reindex_uids (void)
void remove_thread_users (void)
void guess_time_zone (void)
void iorarf_oneroom (char *roomname, char *infofile, char *picfile)
void iorarf_backend (struct ctdlroom *qrbuf, void *data)
void ingest_old_roominfo_and_roompic_files (void)
void update_config (void)
void miafvtur_backend (char *username, void *data)
int ProcessOldStyleAdjRefCountQueue (void)
void move_inet_addrs_from_vcards_to_user_records (void)
void mifm_found_config (long msgnum, void *userdata)
void mifm_backend (char *username, void *data)
void migrate_inbox_filter_msgnums (void)
void create_default_admin_account (void)
void pre_startup_upgrades (void)
void post_startup_upgrades (void)
char * ctdl_module_init_upgrade (void)


int oldver = 0

Function Documentation

◆ create_default_admin_account()

◆ ctdl_module_init_upgrade()

char * ctdl_module_init_upgrade ( void  )

Definition at line 570 of file serv_upgrade.c.

References post_startup_upgrades(), and threading.

Referenced by initialize_modules().

◆ fix_sys_user_name()

void fix_sys_user_name ( void  )

◆ guess_time_zone()

void guess_time_zone ( void  )

Definition at line 139 of file serv_upgrade.c.

References CtdlSetConfigStr(), and file_guesstimezone.

Referenced by update_config().

◆ ingest_old_roominfo_and_roompic_files()

void ingest_old_roominfo_and_roompic_files ( void  )

◆ iorarf_backend()

void iorarf_backend ( struct ctdlroom qrbuf,
void *  data 

◆ iorarf_oneroom()

void iorarf_oneroom ( char *  roomname,
char *  infofile,
char *  picfile 

◆ miafvtur_backend()

void miafvtur_backend ( char *  username,
void *  data 

◆ mifm_backend()

void mifm_backend ( char *  username,
void *  data 

◆ mifm_found_config()

void mifm_found_config ( long  msgnum,
void *  userdata 

Definition at line 428 of file serv_upgrade.c.

References ctdluser::fullname, and ctdluser::msgnum_inboxrules.

Referenced by mifm_backend().

◆ migrate_inbox_filter_msgnums()

void migrate_inbox_filter_msgnums ( void  )

Definition at line 455 of file serv_upgrade.c.

References ForEachUser(), and mifm_backend().

Referenced by post_startup_upgrades().

◆ move_inet_addrs_from_vcards_to_user_records()

void move_inet_addrs_from_vcards_to_user_records ( void  )

Definition at line 421 of file serv_upgrade.c.

References CtdlRebuildDirectoryIndex(), ForEachUser(), and miafvtur_backend().

Referenced by post_startup_upgrades().

◆ post_startup_upgrades()

◆ pre_startup_upgrades()

◆ ProcessOldStyleAdjRefCountQueue()

int ProcessOldStyleAdjRefCountQueue ( void  )

Definition at line 391 of file serv_upgrade.c.

References AdjRefCount(), arcq::arcq_delta, arcq::arcq_msgnum, and file_arcq.

Referenced by post_startup_upgrades().

◆ reindex_uids()

void reindex_uids ( void  )

Definition at line 98 of file serv_upgrade.c.

References ForEachUser(), and reindex_uids_backend().

Referenced by pre_startup_upgrades().

◆ reindex_uids_backend()

void reindex_uids_backend ( char *  username,
void *  data 

◆ remove_thread_users()

void remove_thread_users ( void  )

Definition at line 107 of file serv_upgrade.c.

References ctdluser::axlevel, CtdlGetUser(), CtdlPutUser(), ctdluser::password, and usbuf.

Referenced by pre_startup_upgrades().

◆ update_config()

void update_config ( void  )

Variable Documentation

◆ oldver

int oldver = 0

Definition at line 48 of file serv_upgrade.c.

Referenced by post_startup_upgrades(), pre_startup_upgrades(), and update_config().