janwas
1c1200a049
- add translators from errno and GetLastError to LibError - clarified return values of callbacks (they must return INFO_CB_CONTINUE to continue) - this exposed a few bugs in error handling chains (returning incorrect values); also reduced say-nothing instances of return -1. - move CHECK_ERR etc. macros to lib_error This was SVN commit r3229.
9 lines
305 B
C
Executable File
9 lines
305 B
C
Executable File
|
|
// path: portable and relative, must add current directory and convert to native
|
|
// better to use a cached string from rel_chdir - secure
|
|
extern LibError dir_add_watch(const char* path, intptr_t* watch);
|
|
|
|
extern LibError dir_cancel_watch(intptr_t watch);
|
|
|
|
extern LibError dir_get_changed_file(char* fn);
|