version 1.3, 2015/04/20 18:10:09
|
version 1.4, 2015/04/20 18:19:50
|
|
|
#define _omi_pahts_h | #define _omi_pahts_h |
| |
#include <common.h> | #include <common.h> |
#include "strings.h" |
#include <pal/strings.h> |
| |
BEGIN_EXTERNC | BEGIN_EXTERNC |
| |
|
|
ID_AUTHDIR, | ID_AUTHDIR, |
ID_HTTPSENDTRACEFILE, | ID_HTTPSENDTRACEFILE, |
ID_HTTPRECVTRACEFILE, | ID_HTTPRECVTRACEFILE, |
|
ID_SRCDIR |
} | } |
PathID; | PathID; |
| |
const char* GetPath(PathID id); |
const char* OMI_GetPath(PathID id); |
| |
int SetPath(PathID id, const char* path); | int SetPath(PathID id, const char* path); |
| |
|
|
| |
MI_Boolean IsNickname(const char* nickname); | MI_Boolean IsNickname(const char* nickname); |
| |
|
/* Format TMPDIR/file (leave result in 'path' and return path) */ |
|
char* TempPath(_Pre_writable_size_(PAL_MAX_PATH_SIZE) char path[PAL_MAX_PATH_SIZE], const char* file); |
|
|
|
TChar* TSTempPath(_Pre_writable_size_(PAL_MAX_PATH_SIZE) TChar path[PAL_MAX_PATH_SIZE], const char* file); |
|
|
END_EXTERNC | END_EXTERNC |
| |
#endif /* _omi_pahts_h */ | #endif /* _omi_pahts_h */ |