ReactOS  0.4.13-dev-242-g611e6d7
lmrepl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _REPL_INFO_0
 
struct  _REPL_INFO_1000
 
struct  _REPL_INFO_1001
 
struct  _REPL_INFO_1002
 
struct  _REPL_INFO_1003
 
struct  _REPL_EDIR_INFO_0
 
struct  _REPL_EDIR_INFO_1
 
struct  _REPL_EDIR_INFO_2
 
struct  _REPL_EDIR_INFO_1000
 
struct  _REPL_EDIR_INFO_1001
 
struct  _REPL_IDIR_INFO_0
 
struct  _REPL_IDIR_INFO_1
 

Macros

#define _LMREPL_
 
#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)
 

Typedefs

typedef struct _REPL_INFO_0 REPL_INFO_0
 
typedef struct _REPL_INFO_0PREPL_INFO_0
 
typedef struct _REPL_INFO_0LPREPL_INFO_0
 
typedef struct _REPL_INFO_1000 REPL_INFO_1000
 
typedef struct _REPL_INFO_1000PREPL_INFO_1000
 
typedef struct _REPL_INFO_1000LPREPL_INFO_1000
 
typedef struct _REPL_INFO_1001 REPL_INFO_1001
 
typedef struct _REPL_INFO_1001PREPL_INFO_1001
 
typedef struct _REPL_INFO_1001LPREPL_INFO_1001
 
typedef struct _REPL_INFO_1002 REPL_INFO_1002
 
typedef struct _REPL_INFO_1002PREPL_INFO_1002
 
typedef struct _REPL_INFO_1002LPREPL_INFO_1002
 
typedef struct _REPL_INFO_1003 REPL_INFO_1003
 
typedef struct _REPL_INFO_1003PREPL_INFO_1003
 
typedef struct _REPL_INFO_1003LPREPL_INFO_1003
 
typedef struct _REPL_EDIR_INFO_0 REPL_EDIR_INFO_0
 
typedef struct _REPL_EDIR_INFO_0PREPL_EDIR_INFO_0
 
typedef struct _REPL_EDIR_INFO_0LPREPL_EDIR_INFO_0
 
typedef struct _REPL_EDIR_INFO_1 REPL_EDIR_INFO_1
 
typedef struct _REPL_EDIR_INFO_1PREPL_EDIR_INFO_1
 
typedef struct _REPL_EDIR_INFO_1LPREPL_EDIR_INFO_1
 
typedef struct _REPL_EDIR_INFO_2 REPL_EDIR_INFO_2
 
typedef struct _REPL_EDIR_INFO_2PREPL_EDIR_INFO_2
 
typedef struct _REPL_EDIR_INFO_2LPREPL_EDIR_INFO_2
 
typedef struct _REPL_EDIR_INFO_1000 REPL_EDIR_INFO_1000
 
typedef struct _REPL_EDIR_INFO_1000PREPL_EDIR_INFO_1000
 
typedef struct _REPL_EDIR_INFO_1000LPREPL_EDIR_INFO_1000
 
typedef struct _REPL_EDIR_INFO_1001 REPL_EDIR_INFO_1001
 
typedef struct _REPL_EDIR_INFO_1001PREPL_EDIR_INFO_1001
 
typedef struct _REPL_EDIR_INFO_1001LPREPL_EDIR_INFO_1001
 
typedef struct _REPL_IDIR_INFO_0 REPL_IDIR_INFO_0
 
typedef struct _REPL_IDIR_INFO_0PREPL_IDIR_INFO_0
 
typedef struct _REPL_IDIR_INFO_0LPREPL_IDIR_INFO_0
 
typedef struct _REPL_IDIR_INFO_1 REPL_IDIR_INFO_1
 
typedef struct _REPL_IDIR_INFO_1PREPL_IDIR_INFO_1
 
typedef struct _REPL_IDIR_INFO_1LPREPL_IDIR_INFO_1
 

Functions

NET_API_STATUS NET_API_FUNCTION NetReplGetInfo (_In_ LPCWSTR servername OPTIONAL, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS WINAPI NetReplSetInfo (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirAdd (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirDel (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirEnum (_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD entriesread, _Out_ LPDWORD totalentries, _Inout_opt_ LPDWORD resumehandle)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirGetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirSetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirLock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS NET_API_FUNCTION NetReplExportDirUnlock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirAdd (_In_opt_ LPCWSTR servername, _In_ DWORD level, _In_ const LPBYTE buf, _Out_opt_ LPDWORD parm_err)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirDel (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirEnum (_In_opt_ LPCWSTR servername, _In_ DWORD level, _Out_ LPBYTE *bufptr, _In_ DWORD prefmaxlen, _Out_ LPDWORD entriesread, _Out_ LPDWORD totalentries, _Inout_opt_ LPDWORD resumehandle)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirGetInfo (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD level, _Out_ LPBYTE *bufptr)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirLock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname)
 
NET_API_STATUS NET_API_FUNCTION NetReplImportDirUnlock (_In_opt_ LPCWSTR servername, _In_ LPCWSTR dirname, _In_ DWORD unlockforce)
 

Macro Definition Documentation

◆ _LMREPL_

#define _LMREPL_

Definition at line 19 of file lmrepl.h.

◆ REPL_EXPORT_EXTENT_INFOLEVEL

#define REPL_EXPORT_EXTENT_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+1)

Definition at line 49 of file lmrepl.h.

◆ REPL_EXPORT_INTEGRITY_INFOLEVEL

#define REPL_EXPORT_INTEGRITY_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+0)

Definition at line 48 of file lmrepl.h.

◆ REPL_EXTENT_FILE

#define REPL_EXTENT_FILE   1

Definition at line 45 of file lmrepl.h.

◆ REPL_EXTENT_TREE

#define REPL_EXTENT_TREE   2

Definition at line 46 of file lmrepl.h.

◆ REPL_GUARDTIME_INFOLEVEL

#define REPL_GUARDTIME_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+2)

Definition at line 31 of file lmrepl.h.

◆ REPL_INTEGRITY_FILE

#define REPL_INTEGRITY_FILE   1

Definition at line 42 of file lmrepl.h.

◆ REPL_INTEGRITY_TREE

#define REPL_INTEGRITY_TREE   2

Definition at line 43 of file lmrepl.h.

◆ REPL_INTERVAL_INFOLEVEL

#define REPL_INTERVAL_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+0)

Definition at line 29 of file lmrepl.h.

◆ REPL_PULSE_INFOLEVEL

#define REPL_PULSE_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+1)

Definition at line 30 of file lmrepl.h.

◆ REPL_RANDOM_INFOLEVEL

#define REPL_RANDOM_INFOLEVEL   (PARMNUM_BASE_INFOLEVEL+3)

Definition at line 32 of file lmrepl.h.

◆ REPL_ROLE_BOTH

#define REPL_ROLE_BOTH   3

Definition at line 27 of file lmrepl.h.

◆ REPL_ROLE_EXPORT

#define REPL_ROLE_EXPORT   1

Definition at line 25 of file lmrepl.h.

◆ REPL_ROLE_IMPORT

#define REPL_ROLE_IMPORT   2

Definition at line 26 of file lmrepl.h.

◆ REPL_STATE_NEVER_REPLICATED

#define REPL_STATE_NEVER_REPLICATED   3

Definition at line 40 of file lmrepl.h.

◆ REPL_STATE_NO_MASTER

#define REPL_STATE_NO_MASTER   1

Definition at line 38 of file lmrepl.h.

◆ REPL_STATE_NO_SYNC

#define REPL_STATE_NO_SYNC   2

Definition at line 39 of file lmrepl.h.

◆ REPL_STATE_OK

#define REPL_STATE_OK   0

Definition at line 37 of file lmrepl.h.

◆ REPL_UNLOCK_FORCE

#define REPL_UNLOCK_FORCE   1

Definition at line 35 of file lmrepl.h.

◆ REPL_UNLOCK_NOFORCE

#define REPL_UNLOCK_NOFORCE   0

Definition at line 34 of file lmrepl.h.

Typedef Documentation

◆ LPREPL_EDIR_INFO_0

◆ LPREPL_EDIR_INFO_1

◆ LPREPL_EDIR_INFO_1000

◆ LPREPL_EDIR_INFO_1001

◆ LPREPL_EDIR_INFO_2

◆ LPREPL_IDIR_INFO_0

◆ LPREPL_IDIR_INFO_1

◆ LPREPL_INFO_0

◆ LPREPL_INFO_1000

◆ LPREPL_INFO_1001

◆ LPREPL_INFO_1002

◆ LPREPL_INFO_1003

◆ PREPL_EDIR_INFO_0

◆ PREPL_EDIR_INFO_1

◆ PREPL_EDIR_INFO_1000

◆ PREPL_EDIR_INFO_1001

◆ PREPL_EDIR_INFO_2

◆ PREPL_IDIR_INFO_0

◆ PREPL_IDIR_INFO_1

◆ PREPL_INFO_0

◆ PREPL_INFO_1000

◆ PREPL_INFO_1001

◆ PREPL_INFO_1002

◆ PREPL_INFO_1003

◆ REPL_EDIR_INFO_0

◆ REPL_EDIR_INFO_1

◆ REPL_EDIR_INFO_1000

◆ REPL_EDIR_INFO_1001

◆ REPL_EDIR_INFO_2

◆ REPL_IDIR_INFO_0

◆ REPL_IDIR_INFO_1

◆ REPL_INFO_0

◆ REPL_INFO_1000

◆ REPL_INFO_1001

◆ REPL_INFO_1002

◆ REPL_INFO_1003

Function Documentation

◆ NetReplExportDirAdd()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirAdd ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 235 of file obsolete.c.

240 {
241  return ERROR_NOT_SUPPORTED;
242 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirDel()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirDel ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 247 of file obsolete.c.

250 {
251  return ERROR_NOT_SUPPORTED;
252 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirEnum()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirEnum ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_Out_ LPBYTE bufptr,
_In_ DWORD  prefmaxlen,
_Out_ LPDWORD  entriesread,
_Out_ LPDWORD  totalentries,
_Inout_opt_ LPDWORD  resumehandle 
)

Definition at line 257 of file obsolete.c.

265 {
266  return ERROR_NOT_SUPPORTED;
267 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirGetInfo()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirGetInfo ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 272 of file obsolete.c.

277 {
278  return ERROR_NOT_SUPPORTED;
279 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirLock()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirLock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 284 of file obsolete.c.

287 {
288  return ERROR_NOT_SUPPORTED;
289 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirSetInfo()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirSetInfo ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 294 of file obsolete.c.

300 {
301  return ERROR_NOT_SUPPORTED;
302 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplExportDirUnlock()

NET_API_STATUS NET_API_FUNCTION NetReplExportDirUnlock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  unlockforce 
)

Definition at line 307 of file obsolete.c.

311 {
312  return ERROR_NOT_SUPPORTED;
313 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplGetInfo()

NET_API_STATUS NET_API_FUNCTION NetReplGetInfo ( _In_ LPCWSTR servername  OPTIONAL,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

◆ NetReplImportDirAdd()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirAdd ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 329 of file obsolete.c.

334 {
335  return ERROR_NOT_SUPPORTED;
336 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplImportDirDel()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirDel ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 341 of file obsolete.c.

344 {
345  return ERROR_NOT_SUPPORTED;
346 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplImportDirEnum()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirEnum ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_Out_ LPBYTE bufptr,
_In_ DWORD  prefmaxlen,
_Out_ LPDWORD  entriesread,
_Out_ LPDWORD  totalentries,
_Inout_opt_ LPDWORD  resumehandle 
)

Definition at line 351 of file obsolete.c.

359 {
360  return ERROR_NOT_SUPPORTED;
361 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplImportDirGetInfo()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirGetInfo ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  level,
_Out_ LPBYTE bufptr 
)

Definition at line 366 of file obsolete.c.

371 {
372  return ERROR_NOT_SUPPORTED;
373 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplImportDirLock()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirLock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname 
)

Definition at line 378 of file obsolete.c.

381 {
382  return ERROR_NOT_SUPPORTED;
383 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplImportDirUnlock()

NET_API_STATUS NET_API_FUNCTION NetReplImportDirUnlock ( _In_opt_ LPCWSTR  servername,
_In_ LPCWSTR  dirname,
_In_ DWORD  unlockforce 
)

Definition at line 388 of file obsolete.c.

392 {
393  return ERROR_NOT_SUPPORTED;
394 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90

◆ NetReplSetInfo()

NET_API_STATUS WINAPI NetReplSetInfo ( _In_opt_ LPCWSTR  servername,
_In_ DWORD  level,
_In_ const LPBYTE  buf,
_Out_opt_ LPDWORD  parm_err 
)

Definition at line 399 of file obsolete.c.

404 {
405  return ERROR_NOT_SUPPORTED;
406 }
#define ERROR_NOT_SUPPORTED
Definition: compat.h:90