added 3dengfx into the repo, probably not the correct version for this
[summerhack] / src / 3dengfx / src / common / locator.h
1 /*
2 This is a small cross-platform resource file locator library.
3 Author: John Tsiombikas <nuclear@siggraph.org> 2004
4
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 */
8
9 #ifndef _LOCATOR_H_
10 #define _LOCATOR_H_
11
12 enum loc_file_type {
13         LOC_FILE_CONFIG,
14         LOC_FILE_DATA
15 };
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif  /* __cplusplus */
20
21 const char *loc_get_path(const char *file, enum loc_file_type file_type);
22
23 #ifdef __cplusplus
24 }
25 #endif  /* __cplusplus */
26
27 #endif  /* _LOCATOR_H_ */