Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenlmrepl.h
Go to the documentation of this file.
00001 #ifndef _LMREPL_H 00002 #define _LMREPL_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 #define REPL_ROLE_EXPORT 1 00008 #define REPL_ROLE_IMPORT 2 00009 #define REPL_ROLE_BOTH 3 00010 #define REPL_INTERVAL_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+0) 00011 #define REPL_PULSE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+1) 00012 #define REPL_GUARDTIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+2) 00013 #define REPL_RANDOM_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+3) 00014 #define REPL_UNLOCK_NOFORCE 0 00015 #define REPL_UNLOCK_FORCE 1 00016 #define REPL_STATE_OK 0 00017 #define REPL_STATE_NO_MASTER 1 00018 #define REPL_STATE_NO_SYNC 2 00019 #define REPL_STATE_NEVER_REPLICATED 3 00020 #define REPL_INTEGRITY_FILE 1 00021 #define REPL_INTEGRITY_TREE 2 00022 #define REPL_EXTENT_FILE 1 00023 #define REPL_EXTENT_TREE 2 00024 #define REPL_EXPORT_INTEGRITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+0) 00025 #define REPL_EXPORT_EXTENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+1) 00026 typedef struct _REPL_INFO_0 { 00027 DWORD rp0_role; 00028 LPWSTR rp0_exportpath; 00029 LPWSTR rp0_exportlist; 00030 LPWSTR rp0_importpath; 00031 LPWSTR rp0_importlist; 00032 LPWSTR rp0_logonusername; 00033 DWORD rp0_interval; 00034 DWORD rp0_pulse; 00035 DWORD rp0_guardtime; 00036 DWORD rp0_random; 00037 } REPL_INFO_0,*PREPL_INFO_0,*LPREPL_INFO_0; 00038 typedef struct _REPL_INFO_1000 { DWORD rp1000_interval; } REPL_INFO_1000,*PREPL_INFO_1000,*LPREPL_INFO_1000; 00039 typedef struct _REPL_INFO_1001 { DWORD rp1001_pulse; } REPL_INFO_1001,*PREPL_INFO_1001,*LPREPL_INFO_1001; 00040 typedef struct _REPL_INFO_1002 { DWORD rp1002_guardtime; } REPL_INFO_1002,*PREPL_INFO_1002,*LPREPL_INFO_1002; 00041 typedef struct _REPL_INFO_1003 { DWORD rp1003_random; } REPL_INFO_1003,*PREPL_INFO_1003,*LPREPL_INFO_1003; 00042 00043 NET_API_STATUS WINAPI NetReplGetInfo(LPCWSTR,DWORD,PBYTE*); 00044 NET_API_STATUS WINAPI NetReplSetInfo(LPCWSTR,DWORD,PBYTE,PDWORD); 00045 typedef struct _REPL_EDIR_INFO_0 { 00046 LPWSTR rped0_dirname; 00047 } REPL_EDIR_INFO_0,*PREPL_EDIR_INFO_0,*LPREPL_EDIR_INFO_0; 00048 typedef struct _REPL_EDIR_INFO_1 { 00049 LPWSTR rped1_dirname; 00050 DWORD rped1_integrity; 00051 DWORD rped1_extent; 00052 } REPL_EDIR_INFO_1,*PREPL_EDIR_INFO_1,*LPREPL_EDIR_INFO_1; 00053 typedef struct _REPL_EDIR_INFO_2 { 00054 LPWSTR rped2_dirname; 00055 DWORD rped2_integrity; 00056 DWORD rped2_extent; 00057 DWORD rped2_lockcount; 00058 DWORD rped2_locktime; 00059 } REPL_EDIR_INFO_2,*PREPL_EDIR_INFO_2,*LPREPL_EDIR_INFO_2; 00060 typedef struct _REPL_EDIR_INFO_1000 { 00061 DWORD rped1000_integrity; 00062 } REPL_EDIR_INFO_1000,*PREPL_EDIR_INFO_1000,*LPREPL_EDIR_INFO_1000; 00063 typedef struct _REPL_EDIR_INFO_1001 { 00064 DWORD rped1001_extent; 00065 } REPL_EDIR_INFO_1001,*PREPL_EDIR_INFO_1001,*LPREPL_EDIR_INFO_1001; 00066 typedef struct _REPL_IDIR_INFO_0 { LPWSTR rpid0_dirname; } REPL_IDIR_INFO_0,*PREPL_IDIR_INFO_0,*LPREPL_IDIR_INFO_0; 00067 typedef struct _REPL_IDIR_INFO_1 { 00068 LPWSTR rpid1_dirname; 00069 DWORD rpid1_state; 00070 LPWSTR rpid1_mastername; 00071 DWORD rpid1_last_update_time; 00072 DWORD rpid1_lockcount; 00073 DWORD rpid1_locktime; 00074 } REPL_IDIR_INFO_1,*PREPL_IDIR_INFO_1,*LPREPL_IDIR_INFO_1; 00075 NET_API_STATUS WINAPI NetReplExportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD); 00076 NET_API_STATUS WINAPI NetReplExportDirDel(LPCWSTR,LPCWSTR); 00077 NET_API_STATUS WINAPI NetReplExportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); 00078 NET_API_STATUS WINAPI NetReplExportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*); 00079 NET_API_STATUS WINAPI NetReplExportDirSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD); 00080 NET_API_STATUS WINAPI NetReplExportDirLock(LPCWSTR,LPCWSTR); 00081 NET_API_STATUS WINAPI NetReplExportDirUnlock(LPCWSTR,LPCWSTR,DWORD); 00082 NET_API_STATUS WINAPI NetReplImportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD); 00083 NET_API_STATUS WINAPI NetReplImportDirDel(LPCWSTR,LPCWSTR); 00084 NET_API_STATUS WINAPI NetReplImportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD); 00085 NET_API_STATUS WINAPI NetReplImportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*); 00086 NET_API_STATUS WINAPI NetReplImportDirLock(LPCWSTR,LPCWSTR); 00087 NET_API_STATUS WINAPI NetReplImportDirUnlock(LPCWSTR,LPCWSTR,DWORD); 00088 #ifdef __cplusplus 00089 } 00090 #endif 00091 #endif Generated on Sat May 26 2012 04:30:21 for ReactOS by
1.7.6.1
|