bc49a06e23606daf4fc5f5a509352c1ae9c480f0
[kai/samba.git] / source / librpc / idl / frsapi.idl
1
2   uuid("d049b186-814f-11d1-9a3c-00c04fc9b232"),
3   version(1.1),
4   endpoint("ncacn_ip_tcp:", "ncalrpc:"),
5   helpstring("File Replication API"),
6   pointer_default(unique)
7
8 interface frsapi
9 {
10         /****************/
11         /* Function 0x00 */
12         void FRSAPI_VERIFY_PROMOTION();
13
14         /****************/
15         /* Function 0x01 */
16         void FRSAPI_PROMOTION_STATUS();
17
18         /****************/
19         /* Function 0x02 */
20         void FRSAPI_START_DEMOTION();
21
22         /****************/
23         /* Function 0x03 */
24         void FRSAPI_COMMIT_DEMOTION();
25
26         /****************/
27         /* Function 0x04 */
28         WERROR frsapi_SetDsPollingIntervalW(
29                 [in] uint32 CurrentInterval,
30                 [in] uint32 DsPollingLongInterval,
31                 [in] uint32 DsPollingShortInterval
32         );
33
34         /****************/
35         /* Function 0x05 */
36         WERROR frsapi_GetDsPollingIntervalW(
37                 [out] uint32 *CurrentInterval,
38                 [out] uint32 *DsPollingLongInterval,
39                 [out] uint32 *DsPollingShortInterval
40         );
41
42         /****************/
43         /* Function 0x06 */
44         void FRSAPI_VERIFY_PROMOTION_W();
45
46         /****************/
47         /* Function 0x07 */
48
49         typedef enum {
50                 FRSAPI_INFO_VERSION     = 0,
51                 FRSAPI_INFO_SETS        = 1,
52                 FRSAPI_INFO_DS          = 2,
53                 FRSAPI_INFO_MEMORY      = 3,
54                 FRSAPI_INFO_IDTABLE     = 4,
55                 FRSAPI_INFO_OUTLOG      = 5,
56                 FRSAPI_INFO_INLOG       = 6,
57                 FRSAPI_INFO_THREADS     = 7,
58                 FRSAPI_INFO_STAGE       = 8,
59                 FRSAPI_INFO_CONFIGTABLE = 9
60         } frsapi_InfoEnum;
61
62         void FRSAPI_INFO_W();
63
64         /****************/
65         /* Function 0x08 */
66         void FRSAPI_IS_PATH_REPLICATED();
67
68         /****************/
69         /* Function 0x09 */
70         void FRSAPI_WRITER_COMMAND();
71 }