home *** CD-ROM | disk | FTP | other *** search
- /*
- * Mach Operating System
- * Copyright (c) 1989 Carnegie-Mellon University
- * All rights reserved. The CMU software License Agreement specifies
- * the terms and conditions for use and redistribution.
- */
- /*
- * HISTORY
- * $Log: domain.h,v $
- * Revision 2.3 89/03/09 22:03:30 rpd
- * More cleanup.
- *
- * Revision 2.2 89/02/25 17:52:55 gm0w
- * Changes for cleanup.
- *
- */
- /*
- * Copyright (c) 1982, 1986 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @(#)domain.h 7.1 (Berkeley) 6/4/86
- */
-
- #ifndef _SYS_DOMAIN_H_
- #define _SYS_DOMAIN_H_
-
- /*
- * Structure per communications domain.
- */
-
- struct domain {
- int dom_family; /* AF_xxx */
- char *dom_name;
- int (*dom_init)(); /* initialize domain data structures */
- int (*dom_externalize)(); /* externalize access rights */
- int (*dom_dispose)(); /* dispose of internalized rights */
- struct protosw *dom_protosw, *dom_protoswNPROTOSW;
- struct domain *dom_next;
- };
-
- #ifdef KERNEL
- extern struct domain *domains;
- #endif KERNEL
- #endif _SYS_DOMAIN_H_
-