1 /* 2 * Copyright (c) 1992 The Regents of the University of California. 3 * 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 5.1 (Berkeley) 01/12/93 17 * 18 * from: $Header: sem.h,v 1.5 93/01/12 03:57:14 torek Exp $ 19 */ 20 21 void enddefs __P((const char *)); 22 23 void setdefmaxusers __P((int, int, int)); 24 void setmaxusers __P((int)); 25 int defattr __P((const char *, struct nvlist *)); 26 void defdev __P((struct devbase *, int, struct nvlist *, 27 struct nvlist *, struct nvlist *, struct nvlist *)); 28 struct devbase *getdevbase __P((const char *name)); 29 struct attr *getattr __P((const char *name)); 30 void setmajor __P((struct devbase *d, int n)); 31 void addconf __P((struct config *)); 32 void setconf __P((struct nvlist **, const char *, struct nvlist *)); 33 void adddev __P((const char *, const char *, struct nvlist *, int)); 34 void addpseudo __P((const char *name, int number)); 35 const char *ref __P((const char *name)); 36 const char *starref __P((const char *name)); 37 const char *wildref __P((const char *name)); 38