diff options
author | 8 <NotZed@Ximian.com> | 2001-10-28 21:04:54 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-28 21:04:54 +0800 |
commit | cf90bb5d3354ed745a7e0fd1ceb13ea8c28a8b58 (patch) | |
tree | c24f50381f66e008afe6ac697086716a32dfdaee /libibex/ibex.h | |
parent | f5ea3c70d073c60adfd8a013569e13cbab902157 (diff) | |
download | gsoc2013-evolution-cf90bb5d3354ed745a7e0fd1ceb13ea8c28a8b58.tar.gz gsoc2013-evolution-cf90bb5d3354ed745a7e0fd1ceb13ea8c28a8b58.tar.zst gsoc2013-evolution-cf90bb5d3354ed745a7e0fd1ceb13ea8c28a8b58.zip |
New api entry to move an ibex file in an atomic way.
2001-10-28 <NotZed@Ximian.com>
* ibex_block.c (ibex_move): New api entry to move an ibex file in
an atomic way.
svn path=/trunk/; revision=14293
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 59308deccb..aafa6e734c 100644 --- a/libibex/ibex.h +++ b/libibex/ibex.h @@ -43,6 +43,9 @@ int ibex_write (ibex *ib); /* only save if ibex has changed. */ int ibex_save (ibex *ib); +/* rename an ibex file to a new location */ +int ibex_move (ibex *ib, const char *newname); + /* Write the ibex to disk if it has changed, and free all memory * associated with it. */ |