src/graph_config.[ch]: Implement the "CacheFile" config option.
[collection4.git] / src / graph_config.h
index c468eec..877bebc 100644 (file)
@@ -1,3 +1,26 @@
+/**
+ * collection4 - graph_config.h
+ * Copyright (C) 2010  Florian octo Forster
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301  USA
+ *
+ * Authors:
+ *   Florian octo Forster <ff at octo.it>
+ **/
+
 #ifndef GRAPH_CONFIG_H
 #define GRAPH_CONFIG_H 1
 
@@ -8,5 +31,7 @@ int graph_read_config (void);
 int graph_config_get_string (const oconfig_item_t *ci, char **ret_str);
 int graph_config_get_bool (const oconfig_item_t *ci, _Bool *ret_bool);
 
+const char *graph_config_get_cache_file (void);
+
 /* vim: set sw=2 sts=2 et fdm=marker : */
 #endif /* GRAPH_CONFIG_H */