xref: /original-bsd/usr.sbin/config.new/sem.h (revision c3e32dec)
1 /*
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This software was developed by the Computer Systems Engineering group
6  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
7  * contributed to Berkeley.
8  *
9  * All advertising materials mentioning features or use of this software
10  * must display the following acknowledgement:
11  *	This product includes software developed by the University of
12  *	California, Lawrence Berkeley Laboratories.
13  *
14  * %sccs.include.redist.c%
15  *
16  *	@(#)sem.h	8.1 (Berkeley) 06/06/93
17  */
18 
19 void		enddefs __P((const char *));
20 
21 void		setdefmaxusers __P((int, int, int));
22 void		setmaxusers __P((int));
23 int		defattr __P((const char *, struct nvlist *));
24 void		defdev __P((struct devbase *, int, struct nvlist *,
25 			struct nvlist *, struct nvlist *, struct nvlist *));
26 struct devbase *getdevbase __P((const char *name));
27 struct attr    *getattr __P((const char *name));
28 void		setmajor __P((struct devbase *d, int n));
29 void		addconf __P((struct config *));
30 void		setconf __P((struct nvlist **, const char *, struct nvlist *));
31 void		adddev __P((const char *, const char *, struct nvlist *, int));
32 void		addpseudo __P((const char *name, int number));
33 const char     *ref __P((const char *name));
34 const char     *starref __P((const char *name));
35 const char     *wildref __P((const char *name));
36