Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / rump / librump / rumpkern / rumpkern_if_priv.h
blob546a1640885e826c6cea367726f39f5dc361804e
1 /* $NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp $ */
3 /*
4 * Automatically generated. DO NOT EDIT.
5 * from: NetBSD: rumpkern.ifspec,v 1.3 2009/11/26 09:20:07 pooka Exp
6 * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
7 */
9 void rump_reboot(int);
10 int rump_getversion(void);
11 int rump_module_init(struct modinfo *, prop_dictionary_t);
12 int rump_module_fini(struct modinfo *);
13 int rump_kernelfsym_load(void *, uint64_t, char *, uint64_t);
14 struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
15 size_t rump_uio_getresid(struct uio *);
16 off_t rump_uio_getoff(struct uio *);
17 size_t rump_uio_free(struct uio *);
18 kauth_cred_t rump_cred_create(uid_t, gid_t, size_t, gid_t *);
19 kauth_cred_t rump_cred_suserget(void);
20 void rump_cred_put(kauth_cred_t);
21 struct lwp * rump_newproc_switch(void);
22 struct lwp * rump_lwp_alloc(pid_t, lwpid_t);
23 struct lwp * rump_lwp_alloc_and_switch(pid_t, lwpid_t);
24 struct lwp * rump_lwp_curlwp(void);
25 void rump_lwp_switch(struct lwp *);
26 void rump_lwp_release(struct lwp *);
27 int rump_sysproxy_set(rump_sysproxy_t, void *);
28 int rump_sysproxy_socket_setup_client(int);
29 int rump_sysproxy_socket_setup_server(int);