sys/types.h ==> sys/param.h
[dragonfly.git] / sys / sys / resident.h
1 /*
2  * SYS/RESIDENT.H
3  *
4  *      Userland system calls for resident executable support.
5  *
6  * $DragonFly: src/sys/sys/resident.h,v 1.3 2004/06/03 16:28:15 hmp Exp $
7  */
8
9 #ifndef _SYS_RESIDENT_H_
10 #define _SYS_RESIDENT_H_
11
12 #if !defined(_KERNEL)
13
14 int exec_sys_register(void *);
15 int exec_sys_unregister(int);
16
17 #endif
18
19 struct stat;
20 /* structure exported via sysctl 'vm.resident' for userland */
21 struct xresident {
22         intptr_t        res_entry_addr;
23         int             res_id;
24         char            res_file[MAXPATHLEN];
25         struct stat     res_stat;
26 };
27 #endif
28