/[LeafOK_CVS]/lbbs/include/file_loader.h
ViewVC logotype

Annotation of /lbbs/include/file_loader.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Sat May 17 05:54:42 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.2: +5 -15 lines
Content type: text/x-chdr
Refine

1 sysadm 1.1 /***************************************************************************
2     file_loader.h - description
3     -------------------
4     Copyright : (C) 2004-2025 by Leaflet
5     Email : leaflet@leafok.com
6     ***************************************************************************/
7    
8     /***************************************************************************
9     * *
10     * This program is free software; you can redistribute it and/or modify *
11     * it under the terms of the GNU General Public License as published by *
12     * the Free Software Foundation; either version 3 of the License, or *
13     * (at your option) any later version. *
14     * *
15     ***************************************************************************/
16    
17     #ifndef _FILE_LOADER_H_
18     #define _FILE_LOADER_H_
19    
20     #include "common.h"
21     #include <stddef.h>
22    
23 sysadm 1.3 extern int file_loader_init(void);
24 sysadm 1.1 extern void file_loader_cleanup(void);
25    
26 sysadm 1.3 extern int load_file_shm(const char *filename);
27     extern int unload_file_shm(const char *filename);
28 sysadm 1.1
29 sysadm 1.3 // Returned shared memory should be detached by shmdt()
30     extern const void *get_file_shm(const char *filename);
31 sysadm 1.1
32     #endif //_FILE_LOADER_H_

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1