Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

StaticFunctions.h

Go to the documentation of this file.
00001 #ifndef __STATICFUNCTIONS_H
00002 #define __STATICFUNCTIONS_H
00003 
00004 #include <string>
00005 
00006 struct tm*
00007 threadsafe_gmtime(const time_t* timer);
00008 
00009 int
00010 threadsafe_gethostbyname(struct hostent* he, const char* name);
00011 
00012 int
00013 threadsafe_gethostbyaddr(struct hostent* he, const char* addr, int len, int type);
00014 
00015 char*
00016 threadsafe_inet_ntoa(struct in_addr in);
00017 
00018 char* 
00019 printWsaErrorCode();
00020 
00021 unsigned int 
00022 getPortFromSocket(OS_SPEC_SOCKET_TYPE sock);
00023 
00024 char* 
00025 boolToString(bool val);
00026 
00027 bool 
00028 stringToBool(std::string val);
00029 
00030 #endif

Generated at Thu Jul 11 13:31:52 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001