7f3881bc8e
git-svn-id: svn://10.65.10.50/trunk@449 c028cbd2-c16b-5b4b-a496-9718f37d4682
37 lines
708 B
C
Executable File
37 lines
708 B
C
Executable File
#ifndef __UTILITY_H
|
|
#define __UTILITY_H
|
|
|
|
#ifndef __STDTYPES_H
|
|
#include <stdtypes.h>
|
|
#endif
|
|
|
|
/* @FPUB */
|
|
char* format (const char* fmt, ...);
|
|
const char* cmd2name(const char* argv0, const char* argv1 = "");
|
|
int rtoi(const char * roman);
|
|
const char* itor(int i);
|
|
bool fcopy(const char* orig, const char* dest);
|
|
bool fexist(const char* file);
|
|
const char * encode(const char * data);
|
|
const char * decode(const char * data);
|
|
|
|
#if XVT_OS == XVT_OS_SCOUNIX
|
|
int stricmp(const char*, const char*);
|
|
#endif
|
|
|
|
const char* esc(const char*);
|
|
|
|
#define ODD(x) (x & 1)
|
|
#define EVEN(x) !(x & 1)
|
|
|
|
#ifdef __UTILITY_CPP
|
|
char __tmp_string[1024];
|
|
#else
|
|
extern char __tmp_string[1024];
|
|
#endif
|
|
|
|
|
|
/* @END */
|
|
#endif // __UTILITY_H
|
|
|