Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

infoserv.h File Reference

InfoServ header. More...

#include "memoserv.h"

Go to the source code of this file.

Classes

struct  Newsitem
 A news article. More...


Typedefs

typedef Newsitem SomeNews
 A news article.


Functions

void sendToInfoServ (UserList *nick, char **args, int numargs)
 Parse an InfoServ message.

void newsNag (UserList *nick)
 Nag users signing on/identifying about unread news.


Variables

time_t is_last_post_time
 Last time_t of an InfoServ post.

SomeNewsis_listhead


Detailed Description

InfoServ header.

Author:
Dafydd James

Greg Poma

Id
infoserv.h,v 1.1.1.1 2003/07/04 02:54:05 Mysid Exp

Definition in file infoserv.h.


Function Documentation

void newsNag UserList nick  ) 
 

Nag users signing on/identifying about unread news.

Parameters:
Pointer to the online user to nag

Definition at line 116 of file infoserv.c.

References _userlist::caccess, Newsitem::content, CTime, Newsitem::header, Newsitem::importance, InfoServ, is_last_post_time, is_listhead, isOper(), Newsitem::next, _userlist::nick, OOPER, PutReply, _userlist::reg, SomeNews, sSend(), and Newsitem::timestamp.

Referenced by NickSeeUser().

void sendToInfoServ UserList nick,
char **  args,
int  numargs
 

Parse an InfoServ message.

Parameters:
nick Pointer to online user item sending message
args Array vector of parameters of which args[0] is the name of the command and args[numargs - 1] is the last parameter
numargs Number of accessible items in the args[] array
Precondition:
Nick points to a valid online user record. Args points to a string vector with numargs elements following PRIVMSG X :Y Z. args[0] is Y each space-separated token thereafter is an element.
Postcondition:
Command has been processed appropriately

Definition at line 183 of file infoserv.c.

References getOpFlags(), InfoServ, infoserv_commands, _userlist::nick, PutHelpInfo, PutReply, and RET_FAIL.

Referenced by parseLine().


Variable Documentation

SomeNews* is_listhead
 

News article linked list head

Definition at line 58 of file infoserv.h.

Referenced by is_delete(), is_listnews(), is_postnews(), is_sendinfo(), newsNag(), readInfoData(), and saveInfoData().


Generated at Sat Oct 25 20:56:11 2003 for Services using Doxygen.
Services Copyr. 1996-2001 Chip Norkus, Max Byrd, Greg Poma, Michael Graff, James Hess, Dafydd James. All rights reserved See LICENSE for licensing information.