00001
00002
00003 #include <stdio.h>
00004
00005 #include <string>
00006
00007 using std::string ;
00008
00009 #ifndef E_BESUtil_h
00010 #define E_BESUtil_h 1
00011
00012 class BESUtil
00013 {
00014 private:
00015 static string rfc822_date( const time_t t ) ;
00016
00017 public:
00027 static void set_mime_text( FILE *out ) ;
00028 static void set_mime_html( FILE *out ) ;
00029
00031 static string www2id( const string &in,
00032 const string &escape = "%",
00033 const string &except = "" ) ;
00034 static string unhexstring( string s ) ;
00035 } ;
00036
00037 #endif // E_BESUtil_h
00038