home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / sys / domain.h < prev    next >
C/C++ Source or Header  |  1993-10-19  |  1KB  |  46 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  * HISTORY
  9.  * $Log:    domain.h,v $
  10.  * Revision 2.3  89/03/09  22:03:30  rpd
  11.  *     More cleanup.
  12.  * 
  13.  * Revision 2.2  89/02/25  17:52:55  gm0w
  14.  *     Changes for cleanup.
  15.  * 
  16.  */
  17. /*
  18.  * Copyright (c) 1982, 1986 Regents of the University of California.
  19.  * All rights reserved.  The Berkeley software License Agreement
  20.  * specifies the terms and conditions for redistribution.
  21.  *
  22.  *    @(#)domain.h    7.1 (Berkeley) 6/4/86
  23.  */
  24.  
  25. #ifndef    _SYS_DOMAIN_H_
  26. #define _SYS_DOMAIN_H_
  27.  
  28. /*
  29.  * Structure per communications domain.
  30.  */
  31.  
  32. struct    domain {
  33.     int    dom_family;        /* AF_xxx */
  34.     char    *dom_name;
  35.     int    (*dom_init)();        /* initialize domain data structures */
  36.     int    (*dom_externalize)();    /* externalize access rights */
  37.     int    (*dom_dispose)();    /* dispose of internalized rights */
  38.     struct    protosw *dom_protosw, *dom_protoswNPROTOSW;
  39.     struct    domain *dom_next;
  40. };
  41.  
  42. #ifdef    KERNEL
  43. extern struct    domain *domains;
  44. #endif    KERNEL
  45. #endif    _SYS_DOMAIN_H_
  46.