home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / xinetd-2.1.1 / part01 / xinetd / conf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-27  |  708 b   |  36 lines

  1. /*
  2.  * (c) Copyright 1992 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. #ifndef CONF_H
  8. #define CONF_H
  9.  
  10. /*
  11.  * $Id: conf.h,v 6.2 1993/05/19 00:46:05 panos Exp $
  12.  */
  13.  
  14. #include "pset.h"
  15.  
  16. #include "sconf.h"
  17.  
  18. struct configuration
  19. {
  20.     pset_h cnf_service_confs ;
  21.     struct service_config *cnf_defaults ;
  22. } ;
  23.  
  24. #define CNF_DEFAULTS( confp )            (confp)->cnf_defaults
  25. #define CNF_SERVICE_CONFS( confp )    (confp)->cnf_service_confs
  26.  
  27. status_e                     cnf_get() ;
  28. status_e                        cnf_init() ;
  29. void                             cnf_free() ;
  30. void                            cnf_dump() ;
  31. struct service_config    *cnf_extract() ;
  32. unsigned                        cnf_start_services() ;
  33.  
  34. #endif     /* CONF_H */
  35.  
  36.