/usr/include/libmowgli-2/ext/confparse.h is in libmowgli-2-dev 2.1.0-1.
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 40 41 42 43 44 45 | /*
* Copyright (C) 2005-2008 William Pitcock, et al.
* Rights to this code are as documented in doc/LICENSE.
*
* Config file parser.
*
*/
#ifndef CONFPARSE_H
#define CONFPARSE_H
typedef struct _mowgli_configfile mowgli_config_file_t;
typedef struct _mowgli_configentry mowgli_config_file_entry_t;
struct _mowgli_configfile
{
char *filename;
mowgli_config_file_entry_t *entries;
mowgli_config_file_t *next;
int curline;
char *mem;
};
struct _mowgli_configentry
{
mowgli_config_file_t *fileptr;
int varlinenum;
char *varname;
char *vardata;
int sectlinenum;/* line containing closing brace */
mowgli_config_file_entry_t *entries;
mowgli_config_file_entry_t *prevlevel;
mowgli_config_file_entry_t *next;
};
/* confp.c */
extern void mowgli_config_file_free(mowgli_config_file_t *cfptr);
extern mowgli_config_file_t *mowgli_config_file_load(const char *filename);
#endif
/* vim:cinoptions=>s,e0,n0,f0,{0,}0,^0,=s,ps,t0,c3,+s,(2s,us,)20,*30,gs,hs ts=8 sw=8 noexpandtab
*/
|