diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-02 22:54:30 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-02 22:54:30 -0800 |
commit | ee2298a313b6e425d6ff0324be6a313b1cd9a399 (patch) | |
tree | e23c2549bfe9c14afbabe8cc2afa1da5218b540b /android/utils/ini.h | |
parent | d944e7a273e10cb40d795bdc25503b97ee60ae66 (diff) | |
download | external_qemu-ee2298a313b6e425d6ff0324be6a313b1cd9a399.zip external_qemu-ee2298a313b6e425d6ff0324be6a313b1cd9a399.tar.gz external_qemu-ee2298a313b6e425d6ff0324be6a313b1cd9a399.tar.bz2 |
auto import from //depot/cupcake/@137055
Diffstat (limited to 'android/utils/ini.h')
-rw-r--r-- | android/utils/ini.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/utils/ini.h b/android/utils/ini.h index bc8193e..a176bfe 100644 --- a/android/utils/ini.h +++ b/android/utils/ini.h @@ -62,6 +62,11 @@ IniFile* iniFile_newFromMemory( const char* text, const char* fileName ); */ IniFile* iniFile_newFromFile( const char* filePath); +/* try to write an IniFile into a given file. + * returns 0 on success, -1 on error (see errno for error code) + */ +int iniFile_saveToFile( IniFile* f, const char* filePath ); + /* free an IniFile object */ void iniFile_free( IniFile* f ); |