version 1.1, 2012/05/30 22:47:49
|
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_SOCKETFILE, | ID_SOCKETFILE, |
ID_TMPDIR, | ID_TMPDIR, |
ID_DESTDIR, | ID_DESTDIR, |
ID_AUTHDIR |
ID_AUTHDIR, |
|
ID_HTTPSENDTRACEFILE, |
|
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 */ |