* 'conf' config, and then use its suggested searchpath!
*
*/
-#define PND_CONF_SEARCHPATH "/media/mmcblk0p1/pandora/conf:/media/mmcblk1p1/pandora/conf:/etc/pandora/conf:./testdata/conf"
+#define PND_CONF_SEARCHPATH "/media/*/pandora/conf:/etc/pandora/conf:./testdata/conf"
/* within the base conf file 'conf', the key for the searchpath is 'conf.searchpath' */
#define PND_CONF_FILE "conf" /* a config file for config settings! */
char *pnd_conf_get_as_char ( pnd_conf_handle c, char *key );
#define PND_CONF_BADNUM (-31337) /* really lame hack, I know */
int pnd_conf_get_as_int ( pnd_conf_handle c, char *key );
+int pnd_conf_get_as_int_d ( pnd_conf_handle c, char *key, int def ); // same as _as_int, but returns default instead of BADNUM
+
+/* writes and saves
+ */
+int *pnd_conf_set_int ( pnd_conf_handle c, char *key, int v );
+char *pnd_conf_set_char ( pnd_conf_handle c, char *key, char *v );
+unsigned char pnd_conf_write ( pnd_conf_handle c, char *fullpath );
#ifdef __cplusplus
} /* "C" */