☰
Debian Codegraph
@
0.283
/
/
src
/
test
/
configtest.c
☽
☼
src/test/configtest.c
code
plain
raw
BSD-2-Clause
2000-2009 by Randolph Chung <
[email protected]
>, the d-i team, and Canonical Ltd.; Anthony Towns <
[email protected]
>; David Whedon <
[email protected]
>; Dan Jacobowitz <
[email protected]
>; Tollef Fog Heen <
[email protected]
>; Attilio Fiandrotti <
[email protected]
>; Colin Watson <
[email protected]
>; Regis Boudin <
[email protected]
>
debian/copyright
1
#include "configuration.h"
2
3
#define FILENAME "test.conf"
4
5
int main(int argc, char **argv)
6
{
7
struct configuration *cfg = config_new();
8
cfg->read(cfg, FILENAME);
9
cfg->dump(cfg);
10
config_delete(cfg);
11
return 0;
12
}