0ad/source/lib/sysdep/dir_watch.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

23 lines
712 B
C

/**
* =========================================================================
* File : dir_watch.h
* Project : 0 A.D.
* Description : portable directory change notification API.
* =========================================================================
*/
// license: GPL; see lib/license.txt
#ifndef INCLUDED_DIR_WATCH
#define INCLUDED_DIR_WATCH
// 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);
#endif // #ifndef INCLUDED_DIR_WATCH