2000-02-17 20:38:33 +01:00
|
|
|
#ifndef _LMREPL_H
|
|
|
|
#define _LMREPL_H
|
* include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
wsnetbs.h, wtypes.h, zmouse.h: Add #pragma GCC system_header
if __GNUC__ >= 3.
* include/mapi.h: Change header guard name to _MAPI_H for
consistency.
2002-03-09 10:04:10 +01:00
|
|
|
#if __GNUC__ >=3
|
|
|
|
#pragma GCC system_header
|
|
|
|
#endif
|
|
|
|
|
2000-02-17 20:38:33 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#define REPL_ROLE_EXPORT 1
|
|
|
|
#define REPL_ROLE_IMPORT 2
|
|
|
|
#define REPL_ROLE_BOTH 3
|
|
|
|
#define REPL_INTERVAL_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+0)
|
|
|
|
#define REPL_PULSE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+1)
|
|
|
|
#define REPL_GUARDTIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+2)
|
|
|
|
#define REPL_RANDOM_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+3)
|
|
|
|
#define REPL_UNLOCK_NOFORCE 0
|
|
|
|
#define REPL_UNLOCK_FORCE 1
|
|
|
|
#define REPL_STATE_OK 0
|
|
|
|
#define REPL_STATE_NO_MASTER 1
|
|
|
|
#define REPL_STATE_NO_SYNC 2
|
|
|
|
#define REPL_STATE_NEVER_REPLICATED 3
|
|
|
|
#define REPL_INTEGRITY_FILE 1
|
|
|
|
#define REPL_INTEGRITY_TREE 2
|
|
|
|
#define REPL_EXTENT_FILE 1
|
|
|
|
#define REPL_EXTENT_TREE 2
|
|
|
|
#define REPL_EXPORT_INTEGRITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+0)
|
|
|
|
#define REPL_EXPORT_EXTENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+1)
|
|
|
|
typedef struct _REPL_INFO_0 {
|
|
|
|
DWORD rp0_role;
|
|
|
|
LPWSTR rp0_exportpath;
|
|
|
|
LPWSTR rp0_exportlist;
|
|
|
|
LPWSTR rp0_importpath;
|
|
|
|
LPWSTR rp0_importlist;
|
|
|
|
LPWSTR rp0_logonusername;
|
|
|
|
DWORD rp0_interval;
|
|
|
|
DWORD rp0_pulse;
|
|
|
|
DWORD rp0_guardtime;
|
|
|
|
DWORD rp0_random;
|
|
|
|
} REPL_INFO_0,*PREPL_INFO_0,*LPREPL_INFO_0;
|
|
|
|
typedef struct _REPL_INFO_1000 { DWORD rp1000_interval; } REPL_INFO_1000,*PREPL_INFO_1000,*LPREPL_INFO_1000;
|
|
|
|
typedef struct _REPL_INFO_1001 { DWORD rp1001_pulse; } REPL_INFO_1001,*PREPL_INFO_1001,*LPREPL_INFO_1001;
|
|
|
|
typedef struct _REPL_INFO_1002 { DWORD rp1002_guardtime; } REPL_INFO_1002,*PREPL_INFO_1002,*LPREPL_INFO_1002;
|
|
|
|
typedef struct _REPL_INFO_1003 { DWORD rp1003_random; } REPL_INFO_1003,*PREPL_INFO_1003,*LPREPL_INFO_1003;
|
|
|
|
|
|
|
|
NET_API_STATUS WINAPI NetReplGetInfo(LPCWSTR,DWORD,PBYTE*);
|
|
|
|
NET_API_STATUS WINAPI NetReplSetInfo(LPCWSTR,DWORD,PBYTE,PDWORD);
|
|
|
|
typedef struct _REPL_EDIR_INFO_0 {
|
|
|
|
LPWSTR rped0_dirname;
|
|
|
|
} REPL_EDIR_INFO_0,*PREPL_EDIR_INFO_0,*LPREPL_EDIR_INFO_0;
|
|
|
|
typedef struct _REPL_EDIR_INFO_1 {
|
|
|
|
LPWSTR rped1_dirname;
|
|
|
|
DWORD rped1_integrity;
|
|
|
|
DWORD rped1_extent;
|
|
|
|
} REPL_EDIR_INFO_1,*PREPL_EDIR_INFO_1,*LPREPL_EDIR_INFO_1;
|
|
|
|
typedef struct _REPL_EDIR_INFO_2 {
|
|
|
|
LPWSTR rped2_dirname;
|
|
|
|
DWORD rped2_integrity;
|
|
|
|
DWORD rped2_extent;
|
|
|
|
DWORD rped2_lockcount;
|
|
|
|
DWORD rped2_locktime;
|
|
|
|
} REPL_EDIR_INFO_2,*PREPL_EDIR_INFO_2,*LPREPL_EDIR_INFO_2;
|
|
|
|
typedef struct _REPL_EDIR_INFO_1000 {
|
|
|
|
DWORD rped1000_integrity;
|
|
|
|
} REPL_EDIR_INFO_1000,*PREPL_EDIR_INFO_1000,*LPREPL_EDIR_INFO_1000;
|
|
|
|
typedef struct _REPL_EDIR_INFO_1001 {
|
|
|
|
DWORD rped1001_extent;
|
|
|
|
} REPL_EDIR_INFO_1001,*PREPL_EDIR_INFO_1001,*LPREPL_EDIR_INFO_1001;
|
|
|
|
typedef struct _REPL_IDIR_INFO_0 { LPWSTR rpid0_dirname; } REPL_IDIR_INFO_0,*PREPL_IDIR_INFO_0,*LPREPL_IDIR_INFO_0;
|
|
|
|
typedef struct _REPL_IDIR_INFO_1 {
|
|
|
|
LPWSTR rpid1_dirname;
|
|
|
|
DWORD rpid1_state;
|
|
|
|
LPWSTR rpid1_mastername;
|
|
|
|
DWORD rpid1_last_update_time;
|
|
|
|
DWORD rpid1_lockcount;
|
|
|
|
DWORD rpid1_locktime;
|
|
|
|
} REPL_IDIR_INFO_1,*PREPL_IDIR_INFO_1,*LPREPL_IDIR_INFO_1;
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirDel(LPCWSTR,LPCWSTR);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirLock(LPCWSTR,LPCWSTR);
|
|
|
|
NET_API_STATUS WINAPI NetReplExportDirUnlock(LPCWSTR,LPCWSTR,DWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirDel(LPCWSTR,LPCWSTR);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirLock(LPCWSTR,LPCWSTR);
|
|
|
|
NET_API_STATUS WINAPI NetReplImportDirUnlock(LPCWSTR,LPCWSTR,DWORD);
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|