#define _CONFFILE_H_
#include <sys/queue.h>
+#include <ctype.h>
struct conf_list_node {
TAILQ_ENTRY(conf_list_node) link;
extern int conf_remove_section(int, char *);
extern void conf_report(void);
+/*
+ * Convert letter from upper case to lower case
+ */
+static inline void upper2lower(char *str)
+{
+ char c;
+
+ while ((c = tolower(*str)))
+ *str++ = c;
+}
+
+
#endif /* _CONFFILE_H_ */