diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
commit | 37edb225d7de2592c0a229ce18654d2eb2992f72 (patch) | |
tree | 9957731753fe826ec89418a6d710711c950e6dc0 /include/helperfuncs.h | |
parent | 5e62a8399f1a7a1e9b0bd02a8df6b1a506d0b203 (diff) |
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
Diffstat (limited to 'include/helperfuncs.h')
-rw-r--r-- | include/helperfuncs.h | 13 |
1 files changed, 13 insertions, 0 deletions
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, ...); |