summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/frsrpc.idl
blob: 18aa73322a2a53c0019d81a2e5a960d0c32a68f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#include "idl_types.h"

[
  uuid("f5cc59b4-4264-101a-8c59-08002b2f8426"),
  version(1.1),
  endpoint("ncacn_ip_tcp:", "ncalrpc:"),
  helpstring("File Replication Service"),
  pointer_default(unique)
] 
interface frsrpc
{
	/*****************/
	/* Function 0x00 */
	typedef struct {
		uint32 unknown1;
		uint32 unknown2;
		uint32 unknown3;
		uint32 unknown4;
    		uint32 unknown5;
		uint32 unknown6;
		/*
		 * the format of this blob is this:
		 *
		 * some of the folloeing chunks are concatenated:
		 *
		 * struct {
		 * 	uint16 type;
		 *	[subcontext(4),switch_is(type)] chunk_data data;
		 * } chunk;
		 * 
		 * some of the chunk are like this:
		 *
		 * struct {
		 *	uint32 unknown; // 0x00000010
		 *	struct GUID guid;
		 *	lstring string;
		 * } ...;
		 */
		[subcontext(4),flag(NDR_REMAINING)/*,size_is(unknown5)*/] DATA_BLOB *unknown7;
		uint32 unknown8;
		uint32 unknown9;
	} frsrpc_FrsSendCommPktReq;

	WERROR frsrpc_FrsSendCommPkt(
		[in]	frsrpc_FrsSendCommPktReq req
	);

	/*****************/
	/* Function 0x01 */
	void FRSRPC_VERIFY_PROMOTION_PARENT();

	/*****************/
	/* Function 0x02 */
	void FRSRPC_START_PROMOTION_PARENT();

	/*****************/
	/* Function 0x03 */
	void FRSRPC_NOP();

	/*****************/
	/* Function 0x04 */
	void FRSRPC_BACKUP_COMPLETE();

	/*****************/
	/* Function 0x05 */
	void FRSRPC_BACKUP_COMPLETE_5();

	/*****************/
	/* Function 0x06 */
	void FRSRPC_BACKUP_COMPLETE_6();

	/*****************/
	/* Function 0x07 */
	void FRSRPC_BACKUP_COMPLETE_7();

	/*****************/
	/* Function 0x08 */
	void FRSRPC_BACKUP_COMPLETE_8();

	/*****************/
	/* Function 0x09 */
	void FRSRPC_BACKUP_COMPLETE_9();

	/*****************/
	/* Function 0x0a */
	void FRSRPC_VERIFY_PROMOTION_PARENT_EX();
}