From 47e3cd0fdbfd59165761cab3e96612240e1e03bd Mon Sep 17 00:00:00 2001 From: NotZed Date: Sun, 7 May 2000 08:49:41 +0000 Subject: New function, only write out the ibex if it has changed. 2000-05-07 NotZed * file.c (ibex_save): New function, only write out the ibex if it has changed. svn path=/trunk/; revision=2868 --- libibex/ibex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libibex/ibex.h') 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. */ -- cgit v1.2.3