diff options
-rw-r--r-- | source4/librpc/config.mk | 14 | ||||
-rw-r--r-- | source4/librpc/idl/frsapi.idl | 50 | ||||
-rw-r--r-- | source4/librpc/idl/frsrpc.idl | 54 |
3 files changed, 117 insertions, 1 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index 7361e4a476..b1c45e47da 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -97,6 +97,18 @@ SO_VERSION = 0 OBJ_FILES = gen_ndr/ndr_dfs.o PUBLIC_DEPENDENCIES = LIBNDR +[LIBRARY::NDR_FRSRPC] +VERSION = 0.0.1 +SO_VERSION = 0 +OBJ_FILES = gen_ndr/ndr_frsrpc.o +PUBLIC_DEPENDENCIES = LIBNDR + +[LIBRARY::NDR_FRSAPI] +VERSION = 0.0.1 +SO_VERSION = 0 +OBJ_FILES = gen_ndr/ndr_frsapi.o +PUBLIC_DEPENDENCIES = LIBNDR + [LIBRARY::NDR_DRSUAPI] VERSION = 0.0.1 SO_VERSION = 0 @@ -358,7 +370,7 @@ PUBLIC_DEPENDENCIES = \ NDR_NETLOGON NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \ NDR_ROT NDR_DRSBLOBS NDR_SVCCTL NDR_NBT NDR_WINSREPL NDR_SECURITY \ NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_DCOM NDR_OPENDB \ - NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND + NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI [LIBRARY::RPC_NDR_ROT] VERSION = 0.0.1 diff --git a/source4/librpc/idl/frsapi.idl b/source4/librpc/idl/frsapi.idl new file mode 100644 index 0000000000..579be8c3a6 --- /dev/null +++ b/source4/librpc/idl/frsapi.idl @@ -0,0 +1,50 @@ +[ + uuid("d049b186-814f-11d1-9a3c-00c04fc9b232"), + version(1.1), + endpoint("ncacn_ip_tcp:", "ncalrpc:"), + helpstring("File Replication API"), + pointer_default(unique), + keepref +] +interface frsapi +{ + /****************/ + /* Function 0x00 */ + void FRSAPI_VERIFY_PROMOTION(); + + /****************/ + /* Function 0x01 */ + void FRSAPI_PROMOTION_STATUS(); + + /****************/ + /* Function 0x02 */ + void FRSAPI_START_DEMOTION(); + + /****************/ + /* Function 0x03 */ + void FRSAPI_COMMIT_DEMOTION(); + + /****************/ + /* Function 0x04 */ + void FRSAPI_SET_DS_POLLING_INTERVAL_W(); + + /****************/ + /* Function 0x05 */ + void FRSAPI_GET_DS_POLLING_INTERVAL_W(); + + /****************/ + /* Function 0x06 */ + void FRSAPI_VERIFY_PROMOTION_W(); + + /****************/ + /* Function 0x07 */ + void FRSAPI_INFO_W(); + + /****************/ + /* Function 0x08 */ + void FRSAPI_IS_PATH_REPLICATED(); + + /****************/ + /* Function 0x09 */ + void FRSAPI_WRITER_COMMAND(); +} diff --git a/source4/librpc/idl/frsrpc.idl b/source4/librpc/idl/frsrpc.idl new file mode 100644 index 0000000000..3fe5e6db22 --- /dev/null +++ b/source4/librpc/idl/frsrpc.idl @@ -0,0 +1,54 @@ +[ + uuid("f5cc59b4-4264-101a-8c59-08002b2f8426"), + version(1.1), + endpoint("ncacn_ip_tcp:", "ncalrpc:"), + helpstring("File Replication Service"), + pointer_default(unique), + keepref +] +interface frsrpc +{ + /*****************/ + /* Function 0x00 */ + void FRSRPC_SEND_COMM_PKT(); + + /*****************/ + /* 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(); +} |