Back to index

citadel  8.12
Functions
serv_test.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 "ctdl_module.h"

Go to the source code of this file.

Functions

void CleanupTest (void)
void NewRoomTest (void)
void SessionStartTest (void)
void SessionStopTest (void)
void LoginTest (void)
 CTDL_MODULE_INIT (test)

Function Documentation

void CleanupTest ( void  )

Definition at line 48 of file serv_test.c.

                       {
       syslog(LOG_DEBUG, "--- test of adding an unload hook --- \n");
       }

Here is the caller graph for this function:

CTDL_MODULE_INIT ( test  )

Definition at line 71 of file serv_test.c.

Here is the call graph for this function:

void LoginTest ( void  )

Definition at line 66 of file serv_test.c.

                     {
       syslog(LOG_DEBUG, "--- Hello, %s ---\n", CC->curr_user);
       }

Here is the caller graph for this function:

void NewRoomTest ( void  )

Definition at line 52 of file serv_test.c.

                       {
       syslog(LOG_DEBUG, "--- test module was told we're now in a new room ---\n");
       }

Here is the caller graph for this function:

void SessionStartTest ( void  )

Definition at line 56 of file serv_test.c.

                            {
       syslog(LOG_DEBUG, "--- starting up session %d ---\n",
              CC->cs_pid);
       }

Here is the caller graph for this function:

void SessionStopTest ( void  )

Definition at line 61 of file serv_test.c.

                           {
       syslog(LOG_DEBUG, "--- ending session %d ---\n", 
              CC->cs_pid);
       }

Here is the caller graph for this function: