libscipaper 1.0.x
Functions
sci-conf.h File Reference

Headers for the configuration option handling for SPHONE. More...

#include <glib.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

bool sci_conf_get_bool (const gchar *group, const gchar *key, const bool defaultval, gpointer keyfileptr)
 Get a boolean configuration value.
 
gint sci_conf_get_int (const gchar *group, const gchar *key, const gint defaultval, gpointer keyfileptr)
 Get an integer configuration value.
 
gint * sci_conf_get_int_list (const gchar *group, const gchar *key, gsize *length, gpointer keyfileptr)
 Get an integer list configuration value.
 
gchar * sci_conf_get_string (const gchar *group, const gchar *key, const gchar *defaultval, gpointer keyfileptr)
 Get a string configuration value.
 
gchar ** sci_conf_get_string_list (const gchar *group, const gchar *key, gsize *length, gpointer keyfileptr)
 Get a string list configuration value.
 
gpointer sci_conf_read_conf_file (const gchar *const conffile)
 Read configuration file.
 
gpointer sci_conf_read_conf_bytes (const char *data, size_t length)
 Read configuration from raw memory.
 
void sci_conf_free_conf_file (gpointer keyfileptr)
 
bool sci_conf_init (const char *fileName, const char *data, size_t length)
 
void sci_conf_exit (void)
 

Detailed Description

Headers for the configuration option handling for SPHONE.

Author
Carl Klemm carl@.nosp@m.uvos.nosp@m..xyz

scipaper is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

scipaper 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 scipaper. If not, see http://www.gnu.org/licenses/.