ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/confparse.h
(Generate patch)

Comparing ermyth/include/confparse.h (file contents):
Revision 1.6 by pippijn, Sun Sep 16 18:54:42 2007 UTC vs.
Revision 1.7 by pippijn, Sat Sep 22 14:27:26 2007 UTC

7 * 7 *
8 * Portions of this file were derived from sources bearing the following license: 8 * Portions of this file were derived from sources bearing the following license:
9 * Copyright © 2005 William Pitcock, et al. 9 * Copyright © 2005 William Pitcock, et al.
10 * Rights to this code are as documented in doc/pod/license.pod. 10 * Rights to this code are as documented in doc/pod/license.pod.
11 * 11 *
12 * $Id: confparse.h,v 1.6 2007/09/16 18:54:42 pippijn Exp $ 12 * $Id: confparse.h,v 1.7 2007/09/22 14:27:26 pippijn Exp $
13 */ 13 */
14 14
15#ifndef CONFPARSE_H 15#ifndef CONFPARSE_H
16#define CONFPARSE_H 16#define CONFPARSE_H
17 17
18#include <common/util.h> 18#include <util/containers.h>
19#include <ermyth/callback.h> 19#include <ermyth/callback.h>
20#include <ermyth/type_traits.h> 20#include <ermyth/type_traits.h>
21 21
22struct config_file_t : zero_initialised 22struct config_file_t : zero_initialised
23{ 23{
98 { 98 {
99 } 99 }
100}; 100};
101 101
102E void init_newconf (void); 102E void init_newconf (void);
103E void deinit_conf (void); 103E void conf_cleanup (void);
104E struct ConfTable *find_top_conf (char const * const name); 104E struct ConfTable *find_top_conf (char const * const name);
105E struct ConfTable *find_conf_item (char const * const name, ConfTable::list_type &conflist); 105E struct ConfTable *find_conf_item (char const * const name, ConfTable::list_type &conflist);
106E void add_top_conf (char const * const name, int (*handler) (config_entry_t *ce)); 106E void add_top_conf (char const * const name, int (*handler) (config_entry_t *ce));
107E void add_conf_item (char const * const name, ConfTable::list_type &conflist, int (*handler) (config_entry_t *ce)); 107E void add_conf_item (char const * const name, ConfTable::list_type &conflist, int (*handler) (config_entry_t *ce));
108E void del_top_conf (char const * const name); 108E void del_top_conf (char const * const name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines