62#include "canfigger_version.h"
80#define CANFIGGER_CHECK_VERSION(maj, min) \
81 (CANFIGGER_VERSION_MAJOR > (maj) || \
82 (CANFIGGER_VERSION_MAJOR == (maj) && CANFIGGER_VERSION_MINOR >= (min)))
129 struct attributes *attributes;
struct Canfigger * canfigger_parse_file(const char *file, const int delimiter)
Parse a configuration file into a linked list of key-value nodes.
char * canfigger_data_dir(const char *appname)
Return the platform data directory for an application.
void canfigger_free_list(struct Canfigger **node)
Free all remaining nodes in the list.
void canfigger_free_current_attr_str_advance(struct attributes *attributes, char **attr)
Free the current attribute string and advance to the next attribute.
char * canfigger_config_dir(const char *appname)
Return the platform config directory for an application.
char * canfigger_path_join(const char *dir, const char *file)
Join a directory path and a filename with the platform separator.
void canfigger_free_current_key_node_advance(struct Canfigger **node)
Free the current node and advance the list pointer to the next node.
A single node in the parsed configuration linked list.
Internal iteration state for a node's attribute list.