From 37edb225d7de2592c0a229ce18654d2eb2992f72 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 29 Dec 2005 23:28:19 +0000 Subject: More removal of formatting where its not neccessary x("%s",str) == bad! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/helperfuncs.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 269cd70b9..2d3b45a74 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -29,6 +29,7 @@ void log(int level,char *text, ...); void readfile(file_cache &F, const char* fname); + void Write(int sock,char *text, ...); void WriteServ(int sock, char* text, ...); void WriteFrom(int sock, userrec *user,char* text, ...); @@ -37,6 +38,18 @@ void WriteChannel(chanrec* Ptr, userrec* user, char* text, ...); void WriteChannelLocal(chanrec* Ptr, userrec* user, char* text, ...); void WriteChannelWithServ(char* ServName, chanrec* Ptr, char* text, ...); void ChanExceptSender(chanrec* Ptr, userrec* user, char* text, ...); + +void Write_NoFormat(int sock,const char *text); +void WriteServ_NoFormat(int sock, const char* text); +void WriteFrom_NoFormat(int sock, userrec *user,const char* text); +void WriteTo_NoFormat(userrec *source, userrec *dest,const char *data); +void WriteChannel_NoFormat(chanrec* Ptr, userrec* user, const char* text); +void WriteChannelLocal_NoFormat(chanrec* Ptr, userrec* user, const char* text); +void WriteChannelWithServ_NoFormat(char* ServName, chanrec* Ptr, const char* text); +void ChanExceptSender_NoFormat(chanrec* Ptr, userrec* user, const char* text); +void WriteCommon_NoFormat(userrec *u, const char* text); +void WriteCommonExcept_NoFormat(userrec *u, const char* text); + std::string GetServerDescription(char* servername); void WriteCommon(userrec *u, char* text, ...); void WriteCommonExcept(userrec *u, char* text, ...); -- cgit v1.2.3