frstrans.idl: add definition of frstrans_EstablishSession
[ira/wip.git] / librpc / idl / frstrans.idl
1 #include "idl_types.h"
2
3 import "misc.idl";
4
5 [
6   uuid("897e2e5f-93f3-4376-9c9c-fd2277495c27"),
7   version(1.0),
8   endpoint("ncacn_ip_tcp:", "ncalrpc:"),
9   helpstring("File Replication Service DFS-R"),
10   pointer_default(unique)
11 ]
12 interface frstrans
13 {
14         /*****************/
15         /* Function 0x00 */
16         WERROR frstrans_CheckConnectivity(
17                 [in] GUID replica_set_guid,
18                 [in] GUID connection_guid
19         );
20
21         /*****************/
22         /* Function 0x01 */
23         typedef [v1_enum,flag(NDR_PAHEX)] enum {
24                 FRSTRANS_PROTOCOL_VERSION_W2K3R2                = 0x00050000,
25                 FRSTRANS_PROTOCOL_VERSION_LONGHORN_SERVER       = 0x00050002
26         } frstrans_ProtocolVersion;
27
28         typedef [bitmap32bit] bitmap {
29                 FRSTRANS_TRANSPORT_SUPPORTS_RDC_SIMILARITY      = 0x00000001
30         } frstrans_TransportFlags;
31
32         WERROR frstrans_EstablishConnection(
33                 [in] GUID replica_set_guid,
34                 [in] GUID connection_guid,
35                 [in] frstrans_ProtocolVersion downstream_protocol_version,
36                 [in] frstrans_TransportFlags downstream_flags,
37                 [out,ref] frstrans_ProtocolVersion *upstream_protocol_version,
38                 [out,ref] frstrans_TransportFlags *upstream_flags
39         );
40
41         /*****************/
42         /* Function 0x02 */
43         WERROR frstrans_EstablishSession(
44                 [in] GUID connection_guid,
45                 [in] GUID content_set_guid
46         );
47
48         /*****************/
49         /* Function 0x03 */
50         [todo] void FRSTRANS_REQUEST_UPDATES();
51
52         /*****************/
53         /* Function 0x04 */
54         [todo] void FRSTRANS_REQUEST_VERSION_VECTOR();
55
56         /*****************/
57         /* Function 0x05 */
58         [todo] void FRSTRANS_ASYNC_POLL();
59
60         /*****************/
61         /* Function 0x06 */
62         [todo] void FRSTRANS_REQUEST_RECORDS();
63
64         /*****************/
65         /* Function 0x07 */
66         [todo] void FRSTRANS_UPDATE_CANCEL();
67
68         /*****************/
69         /* Function 0x08 */
70         [todo] void FRSTRANS_RAW_GET_FILE_DATA();
71
72         /*****************/
73         /* Function 0x09 */
74         [todo] void FRSTRANS_RDC_GET_SIGNATURES();
75
76         /*****************/
77         /* Function 0x0a */
78         [todo] void FRSTRANS_RDC_PUSH_SOURCE_NEEDS();
79
80         /*****************/
81         /* Function 0x0b */
82         [todo] void FRSTRANS_RDC_GET_FILE_DATA();
83
84         /*****************/
85         /* Function 0x0c */
86         [todo] void FRSTRANS_RDC_CLOSE();
87
88         /*****************/
89         /* Function 0x0d */
90         [todo] void FRSTRANS_INITIALIZE_FILE_TRANSFER_ASYNC();
91
92         /*****************/
93         /* Function 0x0e */
94         [todo] void FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE();
95
96         /* The following functions are new in Windows 2008 */
97
98         /*****************/
99         /* Function 0x0f */
100         [todo] void FRSTRANS_RAW_GET_FILE_DATA_ASYNC();
101
102         /*****************/
103         /* Function 0x10 */
104         [todo] void FRSTRANS_RDC_GET_FILE_DATA_ASYNC();
105 }