dynwatch

view locator.h @ 0:ce3c5e4c75bf

dynwatch DynDNS updater for windows
author John Tsiombikas <nuclear@siggraph.org>
date Wed, 18 May 2011 05:53:29 +0300
parents
children
line source
1 /*
2 This is a small cross-platform resource file locator library.
3 Author: John Tsiombikas <nuclear@siggraph.org> 2004
5 This library is public domain, you are free to do whatever you like with it,
6 NO WARANTY whatsoever is provided with this library, use it at your own risk.
7 */
9 #ifndef _LOCATOR_H_
10 #define _LOCATOR_H_
12 enum loc_file_type {
13 LOC_FILE_CONFIG,
14 LOC_FILE_DATA
15 };
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 const char *loc_get_path(const char *file, enum loc_file_type file_type);
23 #ifdef __cplusplus
24 }
25 #endif /* __cplusplus */
27 #endif /* _LOCATOR_H_ */