From 4c06ab12ea188b3706224ebdea8059b935f5e338 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Wed, 22 Nov 2006 08:25:52 +0000 Subject: [PATCH] Fix FreeBSD build --- golded3/geprot.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/golded3/geprot.h b/golded3/geprot.h index b8c2955..246a09b 100644 --- a/golded3/geprot.h +++ b/golded3/geprot.h @@ -209,6 +209,21 @@ int ChangeUsername(); int ChangeXlatImport(); +// ------------------------------------------------------------------ +// GEMSGS prototypes + +void TokenXlat(int mode, std::string &input, GMsg* msg, GMsg* oldmsg, int origarea); +void TokenXlat(int mode, char *&input, size_t size, bool resize, GMsg* msg, GMsg* oldmsg, int origarea); +inline void TokenXlat(int mode, char *input, size_t size, GMsg* msg, GMsg* oldmsg, int origarea) +{ TokenXlat(mode, input, size, false, msg, oldmsg, origarea); } + +void Rot13(GMsg* msg); +void ResetMsg(GMsg* msg); +int DoCarboncopy(GMsg* msg, GMsg** carbon); +void DoCrosspost(GMsg* msg, std::vector &postareas); +char* ParseInternetAddr(char* __string, char* __name, char* __addr, bool detect_charset = true); + + // ------------------------------------------------------------------ // GEMLST prototypes @@ -273,21 +288,6 @@ void MarkMsgs(GMsg* msg); int NextMarkedmsg(int direction, GMsg* msg); -// ------------------------------------------------------------------ -// GEMSGS prototypes - -void TokenXlat(int mode, std::string &input, GMsg* msg, GMsg* oldmsg, int origarea); -void TokenXlat(int mode, char *&input, size_t size, bool resize, GMsg* msg, GMsg* oldmsg, int origarea); -inline void TokenXlat(int mode, char *input, size_t size, GMsg* msg, GMsg* oldmsg, int origarea) -{ TokenXlat(mode, input, size, false, msg, oldmsg, origarea); } - -void Rot13(GMsg* msg); -void ResetMsg(GMsg* msg); -int DoCarboncopy(GMsg* msg, GMsg** carbon); -void DoCrosspost(GMsg* msg, std::vector &postareas); -char* ParseInternetAddr(char* __string, char* __name, char* __addr, bool detect_charset = true); - - // ------------------------------------------------------------------ // GENODE prototypes