frstrans.idl: add definition of frstrans_RequestVersionVector()
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Jul 2009 14:01:11 +0000 (16:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Jul 2009 15:51:35 +0000 (17:51 +0200)
metze

librpc/idl/frstrans.idl

index 24f63a19465e5ca4a04fbaab5fe829b1a3cabad9..7513a299442a6841cccfe75a13b3f28dc1314aaf 100644 (file)
@@ -104,7 +104,25 @@ interface frstrans
 
        /*****************/
        /* Function 0x04 */
-       [todo] void FRSTRANS_REQUEST_VERSION_VECTOR();
+       typedef enum {
+               FRSTRANS_VERSION_REQUEST_NORNAL_SYNC    = 0x0000,
+               FRSTRANS_VERSION_REQUEST_SLOW_SYNC      = 0x0001,
+               FRSTRANS_VERSION_REQUEST_SLAVE_SYNC     = 0x0002
+       } frstrans_VersionRequestType;
+
+       typedef enum {
+               FRSTRANS_VERSION_CHANGE_NOTIFY  = 0x0000,
+               FRSTRANS_VERSION_CHANGE_ALL     = 0x0002
+       } frstrans_VersionChangeType;
+
+       WERROR frstrans_RequestVersionVector(
+               [in] uint32 sequence_number,
+               [in] GUID connection_guid,
+               [in] GUID content_set_guid,
+               [in,range(0,2)] frstrans_VersionRequestType request_type,
+               [in,range(0,2)] frstrans_VersionChangeType change_type,
+               [in] hyper vv_generation
+       );
 
        /*****************/
        /* Function 0x05 */