~noskcaj/ubuntu/saucy/xinetd/2.3.15

« back to all changes in this revision

Viewing changes to xinetd/conf.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Seyrat
  • Date: 2004-04-18 13:33:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040418133357-czeqeju37433xvdd
Tags: upstream-2.3.13
ImportĀ upstreamĀ versionĀ 2.3.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (c) Copyright 1992 by Panagiotis Tsirigotis
 
3
 * (c) Sections Copyright 1998-2001 by Rob Braun
 
4
 * All rights reserved.  The file named COPYRIGHT specifies the terms 
 
5
 * and conditions for redistribution.
 
6
 */
 
7
 
 
8
#ifndef CONF_H
 
9
#define CONF_H
 
10
 
 
11
/*
 
12
 * $Id: conf.h,v 1.1.1.1 2003/02/19 17:29:27 bbraun Exp $
 
13
 */
 
14
 
 
15
 
 
16
#include "pset.h"
 
17
#include "sconf.h"
 
18
 
 
19
 
 
20
struct configuration
 
21
{
 
22
   pset_h cnf_service_confs ;
 
23
   struct service_config *cnf_defaults ;
 
24
} ;
 
25
 
 
26
#define CNF_DEFAULTS( confp )        (confp)->cnf_defaults
 
27
#define CNF_SERVICE_CONFS( confp )   (confp)->cnf_service_confs
 
28
 
 
29
void cnf_free(struct configuration *confp);
 
30
struct service_config *cnf_extract(struct configuration *confp,struct service_config *scp);
 
31
void cnf_dump(struct configuration *confp,int fd);
 
32
status_e cnf_init(struct configuration *confp,int *fdp,psi_h *iterp);
 
33
unsigned cnf_start_services(struct configuration *confp);
 
34
 
 
35
 
 
36
#endif    /* CONF_H */
 
37