Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __SISBKUP_H__
      7 #define __SISBKUP_H__
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13   WINBOOL __stdcall SisCreateBackupStructure(PWCHAR volumeRoot,PVOID *sisBackupStructure,PWCHAR *commonStoreRootPathname,PULONG countOfCommonStoreFilesToBackup,PWCHAR **commonStoreFilesToBackup);
     14   WINBOOL __stdcall SisCSFilesToBackupForLink(PVOID sisBackupStructure,PVOID reparseData,ULONG reparseDataSize,PVOID thisFileContext,PVOID *matchingFileContext,PULONG countOfCommonStoreFilesToBackup,PWCHAR **commonStoreFilesToBackup);
     15   WINBOOL __stdcall SisFreeBackupStructure(PVOID sisBackupStructure);
     16   WINBOOL __stdcall SisCreateRestoreStructure(PWCHAR volumeRoot,PVOID *sisRestoreStructure,PWCHAR *commonStoreRootPathname,PULONG countOfCommonStoreFilesToRestore,PWCHAR **commonStoreFilesToRestore);
     17   WINBOOL __stdcall SisRestoredLink(PVOID sisRestoreStructure,PWCHAR restoredFileName,PVOID reparseData,ULONG reparseDataSize,PULONG countOfCommonStoreFilesToRestore,PWCHAR **commonStoreFilesToRestore);
     18   WINBOOL __stdcall SisRestoredCommonStoreFile(PVOID sisRestoreStructure,PWCHAR commonStoreFileName);
     19   WINBOOL __stdcall SisFreeRestoreStructure(PVOID sisRestoreStructure);
     20   VOID __stdcall SisFreeAllocatedMemory(PVOID allocatedSpace);
     21 
     22   typedef WINBOOL (__stdcall *PF_SISCREATEBACKUPSTRUCTURE)(PWCHAR,PVOID *,PWCHAR *,PULONG,PWCHAR **);
     23   typedef WINBOOL (__stdcall *PF_SISCSFILESTOBACKUPFORLINK) (PVOID,PVOID,ULONG,PVOID,PVOID *,PULONG,PWCHAR **);
     24   typedef WINBOOL (__stdcall *PF_SISFREEBACKUPSTRUCTURE) (PVOID);
     25   typedef WINBOOL (__stdcall *PF_SISCREATERESTORESTRUCTURE) (PWCHAR,PVOID *,PWCHAR *,PULONG,PWCHAR **);
     26   typedef WINBOOL (__stdcall *PF_SISRESTOREDLINK) (PVOID,PWCHAR,PVOID,ULONG,PULONG,PWCHAR **);
     27   typedef WINBOOL (__stdcall *PF_SISRESTOREDCOMMONSTORFILE) (PVOID,PWCHAR);
     28   typedef WINBOOL (__stdcall *PF_SISFREERESTORESTRUCTURE)(PVOID);
     29   typedef WINBOOL (__stdcall *PF_SISFREEALLOCATEDMEMORY)(PVOID);
     30 
     31 #ifdef __cplusplus
     32 }
     33 #endif
     34 #endif
     35