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_roomchat.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 <assert.h>
#include <time.h>
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
#include <libcitadel.h>
#include "../../citadel_defs.h"
#include "../../server.h"
#include "../../citserver.h"
#include "../../support.h"
#include "../../config.h"
#include "../../msgbase.h"
#include "../../user_ops.h"
#include "../../ctdl_module.h"
Include dependency graph for serv_roomchat.c:

Go to the source code of this file.

Data Structures

struct  chatmsg


void roomchat_timer (void)
void roomchat_shutdown (void)
void add_to_chat_queue (char *msg)
void roomchat_send (char *argbuf)
void roomchat_poll (char *argbuf)
void roomchat_rwho (char *argbuf)
void cmd_rcht (char *argbuf)
char * ctdl_module_init_roomchat (void)


struct chatmsgfirst_chat_msg = NULL
struct chatmsglast_chat_msg = NULL

Function Documentation

◆ add_to_chat_queue()

◆ cmd_rcht()

void cmd_rcht ( char *  argbuf)

◆ ctdl_module_init_roomchat()

char * ctdl_module_init_roomchat ( void  )

◆ roomchat_poll()

◆ roomchat_rwho()

◆ roomchat_send()

void roomchat_send ( char *  argbuf)

Definition at line 126 of file serv_roomchat.c.

References add_to_chat_queue(), CC, client_getln(), cprintf(), CS_CHAT, ERROR, and SEND_LISTING.

Referenced by cmd_rcht().

◆ roomchat_shutdown()

void roomchat_shutdown ( void  )

Definition at line 77 of file serv_roomchat.c.

Referenced by ctdl_module_init_roomchat().

◆ roomchat_timer()

Variable Documentation

◆ first_chat_msg

struct chatmsg* first_chat_msg = NULL

Definition at line 47 of file serv_roomchat.c.

Referenced by add_to_chat_queue(), roomchat_poll(), and roomchat_timer().

◆ last_chat_msg

struct chatmsg* last_chat_msg = NULL

Definition at line 48 of file serv_roomchat.c.

Referenced by add_to_chat_queue(), and roomchat_timer().