root/libs/loader/ldt_keeper.h

Revision 066e58dd3454554fed6dad53fd2513736087720d, 321 bytes (checked in by Rémi Denis-Courmont <rem@videolan.org>, 2 years ago)

Create a modules-like directory for libraries
that are not plugins neither in the core

  • Property mode set to 100644
Line 
1 #ifndef LDT_KEEPER_H
2 #define LDT_KEEPER_H
3
4 #ifdef __cplusplus
5 extern "C"
6 {
7 #endif
8
9 typedef struct {
10   void* fs_seg;
11   char* prev_struct;
12   int fd;
13 } ldt_fs_t;
14
15 void Setup_FS_Segment(void);
16 ldt_fs_t* Setup_LDT_Keeper(void);
17 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
18 #ifdef __cplusplus
19 }
20 #endif
21
22 #endif /* LDT_KEEPER_H */
Note: See TracBrowser for help on using the browser.