/usr/include/libzia/zrc.h is in libzia-dev 4.06-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*
rc - config file functions
Copyright (C) 2007-2009 Ladislav Vaiz <ok1zia@nagano.cz>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
#ifndef __ZRC_H
#define __ZRC_H
#include <glib.h>
struct zrc{
GHashTable *items;
};
int zrc_read_file(char *filename);
//int zrc_read_files(char *name);
//char *zrc_getopt(char *key);
void zrc_info(void);
char *zrc_str(char *key, char *def);
int zrc_int(char *key, int def);
char *zrc_strf(char *def, char *fmt, ...);
int zrc_intf(int def, char *fmt, ...);
void zrc_declare_array(char *key);
GPtrArray *zrc_array(char *key);
#endif
|