--- lbbs/include/file_loader.h 2025/11/04 13:49:50 1.6 +++ lbbs/include/file_loader.h 2025/11/19 03:12:58 1.8 @@ -3,7 +3,7 @@ * file_loader * - shared memory based file loader * - * Copyright (C) 2004-2025 by Leaflet + * Copyright (C) 2004-2025 Leaflet */ #ifndef _FILE_LOADER_H_ @@ -12,13 +12,10 @@ #include "common.h" #include -extern int file_loader_init(void); -extern void file_loader_cleanup(void); - extern int load_file(const char *filename); extern int unload_file(const char *filename); -extern const void *get_file_shm_readonly(const char *filename, size_t *p_data_len, long *p_line_total, const void **pp_data, const long **pp_line_offsets); -extern int detach_file_shm(const void *p_shm); +extern void *get_file_shm_readonly(const char *filename, size_t *p_data_len, long *p_line_total, const void **pp_data, const long **pp_line_offsets); +extern int detach_file_shm(void *p_shm); #endif //_FILE_LOADER_H_