Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

message.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
00002  *       | Inspire Internet Relay Chat Daemon |
00003  *       +------------------------------------+
00004  *
00005  *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
00006  *                       E-mail:
00007  *                <brain@chatspike.net>
00008  *                <Craig@chatspike.net>
00009  *     
00010  * Written by Craig Edwards, Craig McLure, and others.
00011  * This program is free but copyrighted software; see
00012  *            the file COPYING for details.
00013  *
00014  * ---------------------------------------------------
00015  */
00016 
00017 #ifndef __MESSAGE_H
00018 #define __MESSAGE_H
00019 
00020 // include the common header files
00021 
00022 #include <typeinfo>
00023 #include <iostream>
00024 #include <string>
00025 #include <deque>
00026 #include <sstream>
00027 #include <vector>
00028 #include "users.h"
00029 #include "channels.h"
00030 
00031 int common_channels(userrec *u, userrec *u2);
00032 void chop(char* str);
00033 void tidystring(char* str);
00034 void safedelete(chanrec *p);
00035 void safedelete(userrec *p);
00036 void Blocking(int s);
00037 void NonBlocking(int s);
00038 int CleanAndResolve (char *resolvedHost, const char *unresolvedHost);
00039 int c_count(userrec* u);
00040 bool hasumode(userrec* user, char mode);
00041 void ChangeName(userrec* user, const char* gecos);
00042 void ChangeDisplayedHost(userrec* user, const char* host);
00043 int isident(const char* n);
00044 int isnick(const char* n);
00045 char* cmode(userrec *user, chanrec *chan);
00046 int cstatus(userrec *user, chanrec *chan);
00047 int has_channel(userrec *u, chanrec *c);
00048 void TidyBan(char *ban);
00049 char* chlist(userrec *user);
00050 void send_network_quit(const char* nick, const char* reason);
00051 
00052 #endif

Generated on Fri Mar 25 03:49:27 2005 for InspIRCd by doxygen 1.3.3