xref: /freebsd/sys/compat/linux/linux_mib.h (revision c6dfea0ebdd03519c549b3159be4f45f1edcf534)
1c6dfea0eSMarcel Moolenaar /*-
2c6dfea0eSMarcel Moolenaar  * Copyright (c) 1999 Marcel Moolenaar
3c6dfea0eSMarcel Moolenaar  * All rights reserved.
4c6dfea0eSMarcel Moolenaar  *
5c6dfea0eSMarcel Moolenaar  * Redistribution and use in source and binary forms, with or without
6c6dfea0eSMarcel Moolenaar  * modification, are permitted provided that the following conditions
7c6dfea0eSMarcel Moolenaar  * are met:
8c6dfea0eSMarcel Moolenaar  * 1. Redistributions of source code must retain the above copyright
9c6dfea0eSMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer
10c6dfea0eSMarcel Moolenaar  *    in this position and unchanged.
11c6dfea0eSMarcel Moolenaar  * 2. Redistributions in binary form must reproduce the above copyright
12c6dfea0eSMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer in the
13c6dfea0eSMarcel Moolenaar  *    documentation and/or other materials provided with the distribution.
14c6dfea0eSMarcel Moolenaar  * 3. The name of the author may not be used to endorse or promote products
15c6dfea0eSMarcel Moolenaar  *    derived from this software withough specific prior written permission
16c6dfea0eSMarcel Moolenaar  *
17c6dfea0eSMarcel Moolenaar  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18c6dfea0eSMarcel Moolenaar  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19c6dfea0eSMarcel Moolenaar  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20c6dfea0eSMarcel Moolenaar  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21c6dfea0eSMarcel Moolenaar  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22c6dfea0eSMarcel Moolenaar  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23c6dfea0eSMarcel Moolenaar  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24c6dfea0eSMarcel Moolenaar  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25c6dfea0eSMarcel Moolenaar  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26c6dfea0eSMarcel Moolenaar  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27c6dfea0eSMarcel Moolenaar  *
28c6dfea0eSMarcel Moolenaar  *  $Id$
29c6dfea0eSMarcel Moolenaar  */
30c6dfea0eSMarcel Moolenaar 
31c6dfea0eSMarcel Moolenaar #ifndef _LINUX_MIB_H_
32c6dfea0eSMarcel Moolenaar #define _LINUX_MIB_H_
33c6dfea0eSMarcel Moolenaar 
34c6dfea0eSMarcel Moolenaar char*	linux_get_osname	__P((struct proc *p));
35c6dfea0eSMarcel Moolenaar int	linux_set_osname	__P((struct proc *p, char *osname));
36c6dfea0eSMarcel Moolenaar 
37c6dfea0eSMarcel Moolenaar char*	linux_get_osrelease	__P((struct proc *p));
38c6dfea0eSMarcel Moolenaar int	linux_set_osrelease	__P((struct proc *p, char *osrelease));
39c6dfea0eSMarcel Moolenaar 
40c6dfea0eSMarcel Moolenaar int	linux_get_oss_version	__P((struct proc *p));
41c6dfea0eSMarcel Moolenaar int	linux_set_oss_version	__P((struct proc *p, int oss_version));
42c6dfea0eSMarcel Moolenaar 
43c6dfea0eSMarcel Moolenaar #endif /* _LINUX_MIB_H_ */
44