00001 /* 00002 * libopensync - A synchronization framework 00003 * Copyright (C) 2006 Armin Bauer <armin.bauer@opensync.org> 00004 * Copyright (C) 2006 NetNix Finland Ltd <netnix@netnix.fi> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 * Author: Armin Bauer <armin.bauer@opensync.org> 00021 * Author: Daniel Friedrich <daniel.friedrich@opensync.org> 00022 * 00023 */ 00024 00025 #ifndef OPENSYNC_ARCHIVE_H_ 00026 #define OPENSYNC_ARCHIVE_H_ 00027 00028 #include <opensync/opensync_list.h> 00029 00041 00048 OSYNC_EXPORT OSyncArchive *osync_archive_new(const char *filename, OSyncError **error); 00049 00054 OSYNC_EXPORT OSyncArchive *osync_archive_ref(OSyncArchive *archive); 00055 00061 OSYNC_EXPORT void osync_archive_unref(OSyncArchive *archive); 00062 00075 OSYNC_EXPORT osync_bool osync_archive_load_changes(OSyncArchive *archive, const char *objtype, OSyncList **ids, OSyncList **uids, OSyncList **mappingids, OSyncList **memberids, OSyncError **error); 00078 #endif /*OPENSYNC_ARCHIVE_H_*/
1.5.7.1