00001
00009 /* --------------------------------------------------------------
00010 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00011
00012 This program is free software; you can redistribute it and/or
00013 modify it under the terms of the GNU General Public License
00014 as published by the Free Software Foundation; either
00015 version 2 of the License, or (at your option) any later
00016 version.
00017
00018 This program is distributed in the hope that it will be useful,
00019 but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021 GNU General Public License for more details.
00022
00023 You should have received a copy of the GNU General Public License
00024 along with this program; if not, write to the Free Software
00025 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00026 -------------------------------------------------------------- */
00027
00028 #ifndef ANYCFG_H_FILE
00029 #define ANYCFG_H_FILE 1
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00036 typedef void * ANYCFG_H;
00037
00039 void acfInit ();
00040
00042 void acfTerm ();
00043
00049 ANYCFG_H acfOpen (int argn, char *argv[]);
00050
00058 long acfGetLong (ANYCFG_H cfgHdl, char *key);
00059
00067 int acfGetBool (ANYCFG_H cfgHdl, char *key);
00068
00076 double acfGetNumber (ANYCFG_H cfgHdl, char *key);
00077
00088 int acfGetStr (ANYCFG_H cfgHdl, char *key, char *value);
00089
00095 void acfClose (ANYCFG_H cfgHdl);
00096
00097 #ifdef __cplusplus
00098 }
00099 #endif
00100
00101 #endif
00102
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001