News

Documentation

lib/efreet_ini.h

Go to the documentation of this file.
00001 /* vim: set sw=4 ts=4 sts=4 et: */
00002 #ifndef EFREET_INI_H
00003 #define EFREET_INI_H
00004 
00017 typedef struct Efreet_Ini Efreet_Ini;
00018 
00023 struct Efreet_Ini
00024 {
00025   Ecore_Hash *data;     
00026   Ecore_Hash *section;  
00027 };
00028 
00029 Efreet_Ini  *efreet_ini_new(const char *file);
00030 void         efreet_ini_free(Efreet_Ini *ini);
00031 int          efreet_ini_save(Efreet_Ini *ini, const char *path);
00032 
00033 int          efreet_ini_section_set(Efreet_Ini *ini, const char *section);
00034 void         efreet_ini_section_add(Efreet_Ini *ini, const char *section);
00035 
00036 const char  *efreet_ini_string_get(Efreet_Ini *ini, const char *key);
00037 void         efreet_ini_string_set(Efreet_Ini *ini, const char *key, 
00038                                                     const char *value);
00039 
00040 const char  *efreet_ini_localestring_get(Efreet_Ini *ini, const char *key);
00041 void         efreet_ini_localestring_set(Efreet_Ini *ini, const char *key, 
00042                                                     const char *value);
00043 
00044 unsigned int efreet_ini_boolean_get(Efreet_Ini *ini, const char *key);
00045 void         efreet_ini_boolean_set(Efreet_Ini *ini, const char *key, 
00046                                                     unsigned int value);
00047 
00048 int          efreet_ini_int_get(Efreet_Ini *ini, const char *key);
00049 void         efreet_ini_int_set(Efreet_Ini *ini, const char *key, int value);
00050 
00051 double       efreet_ini_double_get(Efreet_Ini *ini, const char *key);
00052 void         efreet_ini_double_set(Efreet_Ini *ini, const char *key, 
00053                                                     double value);
00054 
00059 #endif
00060 

Copyright © Enlightenment.org

Efreet Documentation Generated: Sat Apr 7 17:55:36 2007