1
/*********************************************************
2
* Copyright (C) 2011 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation version 2.1 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11
* License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*********************************************************/
19
#ifndef _SYNCDRIVERINT_H_
20
#define _SYNCDRIVERINT_H_
23
* @file syncDriverInt.h
25
* Internal definitions for the sync driver library.
28
#include "syncDriver.h"
30
#define LGPFX "SyncDriver: "
40
typedef SyncDriverErr (*SyncFreezeFn)(const char *paths,
41
SyncDriverHandle *handle);
43
typedef struct SyncHandle {
44
SyncDriverErr (*thaw)(const SyncDriverHandle handle);
45
void (*close)(SyncDriverHandle handle);
50
LinuxDriver_Freeze(const char *userPaths,
51
SyncDriverHandle *handle);
54
VmSync_Freeze(const char *userPaths,
55
SyncDriverHandle *handle);
58
NullDriver_Freeze(const char *userPaths,
59
SyncDriverHandle *handle);
64
#endif /* _SYNCDRIVERINT_H_ */