2020-11-24 04:06:03 +00:00
|
|
|
/*
|
|
|
|
* Mr. 4th Dimention - Allen Webster
|
|
|
|
*
|
|
|
|
* 01.10.2019
|
|
|
|
*
|
|
|
|
* Search list helper.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
|
|
|
#if !defined(FRED_SEARCH_LIST_H)
|
|
|
|
#define FRED_SEARCH_LIST_H
|
|
|
|
|
2020-11-24 06:27:33 +00:00
|
|
|
////////////////////////////////
|
|
|
|
// NOTE(allen): Search List Builders
|
|
|
|
|
|
|
|
function void def_search_add_path(Arena *arena, List_String_Const_u8 *list, String_Const_u8 path);
|
2021-01-07 08:41:04 +00:00
|
|
|
function void def_search_list_add_system_path(Arena *arena, List_String_Const_u8 *list, System_Path_Code path);
|
2020-11-24 06:27:33 +00:00
|
|
|
function void def_search_normal_load_list(Arena *arena, List_String_Const_u8 *list);
|
|
|
|
|
2020-11-24 04:06:03 +00:00
|
|
|
////////////////////////////////
|
|
|
|
// NOTE(allen): Search List Functions
|
|
|
|
|
2020-11-24 06:27:33 +00:00
|
|
|
function FILE *def_search_fopen(Arena *arena, List_String_Const_u8 *list, char *file_name, char *opt);
|
2020-11-24 04:06:03 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|