diff options
Diffstat (limited to 'eet.c.in')
-rw-r--r-- | eet.c.in | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ -/** -@file +/** +@file eet.c @brief Eet Data Handling Library Public API Calls - + These routines are used for Eet Library interaction */ @@ -9,9 +9,9 @@ These routines are used for Eet Library interaction @mainpage Eet Library Documentation @image html eet.png -@version @VERSION@ -@author Carsten Haitzler <raster@rasterman.com> -@date 2000-2004 +@version @PACKAGE_VERSION@ +@author Carsten Haitzler <raster\@rasterman.com> +@date 2000-2008 @@ -71,14 +71,14 @@ main(int argc, char **argv) }; eet_init(); - + // blindly open an file for output and write strings with their NUL char ef = eet_open("test.eet", EET_FILE_MODE_WRITE); eet_write(ef, "Entry 1", entries[0], strlen(entries[0]) + 1, 0); eet_write(ef, "Entry 2", entries[1], strlen(entries[1]) + 1, 1); eet_write(ef, "Entry 3", entries[2], strlen(entries[2]) + 1, 0); eet_close(ef); - + // open the file again and blindly get the entries we wrote ef = eet_open("test.eet", EET_FILE_MODE_READ); ret = eet_read(ef, "Entry 1", &size); |