diff options
author | NotZed <NotZed@HelixCode.com> | 2000-05-07 16:49:41 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-07 16:49:41 +0800 |
commit | 47e3cd0fdbfd59165761cab3e96612240e1e03bd (patch) | |
tree | 596a10c17d950bba77d61fbed60140f48a8d3f48 /libibex/ibex.h | |
parent | e7150f51635e89d8c4f6826e3683a447741ddfcb (diff) | |
download | gsoc2013-evolution-47e3cd0fdbfd59165761cab3e96612240e1e03bd.tar.gz gsoc2013-evolution-47e3cd0fdbfd59165761cab3e96612240e1e03bd.tar.zst gsoc2013-evolution-47e3cd0fdbfd59165761cab3e96612240e1e03bd.zip |
New function, only write out the ibex if it has changed.
2000-05-07 NotZed <NotZed@HelixCode.com>
* file.c (ibex_save): New function, only write out the ibex if it
has changed.
svn path=/trunk/; revision=2868
Diffstat (limited to 'libibex/ibex.h')
-rw-r--r-- | libibex/ibex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libibex/ibex.h b/libibex/ibex.h index 646853b120..03635e275d 100644 --- a/libibex/ibex.h +++ b/libibex/ibex.h @@ -41,6 +41,9 @@ ibex *ibex_open (char *file, int flags, int mode); /* Write the ibex to disk. */ int ibex_write (ibex *ib); +/* only save if ibex has changed. */ +int ibex_save (ibex *ib); + /* Write the ibex to disk if it has changed, and free all memory * associated with it. */ |