s3-build: re-run make samba3-idl after pidl change.
authorGünther Deschner <gd@samba.org>
Wed, 19 Nov 2008 21:00:43 +0000 (22:00 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 19 Nov 2008 21:00:43 +0000 (22:00 +0100)
Guenther

source3/librpc/gen_ndr/srv_lsa.c
source3/librpc/gen_ndr/srv_netlogon.c
source3/librpc/gen_ndr/srv_ntsvcs.c
source3/librpc/gen_ndr/srv_srvsvc.c
source3/librpc/gen_ndr/srv_svcctl.c
source3/librpc/gen_ndr/srv_winreg.c
source3/librpc/gen_ndr/srv_wkssvc.c

index b0893623a8b7c51d39e7d46bf3c65be445695769..c30f276800e210a88bda57ec5d4fb1b4c660ef18 100644 (file)
@@ -1128,14 +1128,14 @@ static bool api_lsa_LookupNames(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.sids = r->in.sids;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.sids = r->in.sids;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupNames(p, r);
 
        if (p->rng_fault_state) {
@@ -1210,14 +1210,14 @@ static bool api_lsa_LookupSids(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.names = r->in.names;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.names = r->in.names;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupSids(p, r);
 
        if (p->rng_fault_state) {
@@ -4444,14 +4444,14 @@ static bool api_lsa_LookupSids2(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.names = r->in.names;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.names = r->in.names;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupSids2(p, r);
 
        if (p->rng_fault_state) {
@@ -4526,14 +4526,14 @@ static bool api_lsa_LookupNames2(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.sids = r->in.sids;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.sids = r->in.sids;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupNames2(p, r);
 
        if (p->rng_fault_state) {
@@ -5272,14 +5272,14 @@ static bool api_lsa_LookupNames3(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.sids = r->in.sids;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.sids = r->in.sids;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupNames3(p, r);
 
        if (p->rng_fault_state) {
@@ -5872,14 +5872,14 @@ static bool api_lsa_LookupSids3(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.names = r->in.names;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.names = r->in.names;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupSids3(p, r);
 
        if (p->rng_fault_state) {
@@ -5954,14 +5954,14 @@ static bool api_lsa_LookupNames4(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.sids = r->in.sids;
+       r->out.count = r->in.count;
        r->out.domains = talloc_zero(r, struct lsa_RefDomainList *);
        if (r->out.domains == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.sids = r->in.sids;
-       r->out.count = r->in.count;
        r->out.result = _lsa_LookupNames4(p, r);
 
        if (p->rng_fault_state) {
index 9546b2551b05f6446908b2ed700f1b6d5a9516c5..2cb2978af2d492abad260c960d0d958210b2befa 100644 (file)
@@ -871,6 +871,7 @@ static bool api_netr_AccountSync(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.return_authenticator = r->in.return_authenticator;
+       r->out.recordid = r->in.recordid;
        r->out.buffer = talloc_zero(r, struct netr_AccountBuffer);
        if (r->out.buffer == NULL) {
                talloc_free(r);
@@ -895,7 +896,6 @@ static bool api_netr_AccountSync(pipes_struct *p)
                return false;
        }
 
-       r->out.recordid = r->in.recordid;
        r->out.result = _netr_AccountSync(p, r);
 
        if (p->rng_fault_state) {
@@ -1290,13 +1290,13 @@ static bool api_netr_ServerAuthenticate2(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.negotiate_flags = r->in.negotiate_flags;
        r->out.return_credentials = talloc_zero(r, struct netr_Credential);
        if (r->out.return_credentials == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.negotiate_flags = r->in.negotiate_flags;
        r->out.result = _netr_ServerAuthenticate2(p, r);
 
        if (p->rng_fault_state) {
@@ -2146,13 +2146,13 @@ static bool api_netr_ServerAuthenticate3(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.negotiate_flags = r->in.negotiate_flags;
        r->out.return_credentials = talloc_zero(r, struct netr_Credential);
        if (r->out.return_credentials == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.negotiate_flags = r->in.negotiate_flags;
        r->out.rid = talloc_zero(r, uint32_t);
        if (r->out.rid == NULL) {
                talloc_free(r);
@@ -3186,6 +3186,7 @@ static bool api_netr_LogonSamLogonEx(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.flags = r->in.flags;
        r->out.validation = talloc_zero(r, union netr_Validation);
        if (r->out.validation == NULL) {
                talloc_free(r);
@@ -3198,7 +3199,6 @@ static bool api_netr_LogonSamLogonEx(pipes_struct *p)
                return false;
        }
 
-       r->out.flags = r->in.flags;
        r->out.result = _netr_LogonSamLogonEx(p, r);
 
        if (p->rng_fault_state) {
@@ -3685,6 +3685,7 @@ static bool api_netr_LogonSamLogonWithFlags(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.return_authenticator = r->in.return_authenticator;
+       r->out.flags = r->in.flags;
        r->out.validation = talloc_zero(r, union netr_Validation);
        if (r->out.validation == NULL) {
                talloc_free(r);
@@ -3697,7 +3698,6 @@ static bool api_netr_LogonSamLogonWithFlags(pipes_struct *p)
                return false;
        }
 
-       r->out.flags = r->in.flags;
        r->out.result = _netr_LogonSamLogonWithFlags(p, r);
 
        if (p->rng_fault_state) {
index ae28b9932e947d917759731a16d4829ea1a0d8f3..288f3ed5d74fe19d913342d529bb520240d230d3 100644 (file)
@@ -782,13 +782,13 @@ static bool api_PNP_GetDeviceList(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.length = r->in.length;
        r->out.buffer = talloc_zero_array(r, uint16_t, *r->out.length);
        if (r->out.buffer == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.length = r->in.length;
        r->out.result = _PNP_GetDeviceList(p, r);
 
        if (p->rng_fault_state) {
@@ -1017,14 +1017,14 @@ static bool api_PNP_GetDeviceRegProp(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.reg_data_type = r->in.reg_data_type;
+       r->out.buffer_size = r->in.buffer_size;
+       r->out.needed = r->in.needed;
        r->out.buffer = talloc_zero_array(r, uint8_t, *r->out.buffer_size);
        if (r->out.buffer == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.buffer_size = r->in.buffer_size;
-       r->out.needed = r->in.needed;
        r->out.result = _PNP_GetDeviceRegProp(p, r);
 
        if (p->rng_fault_state) {
index f995930b89dd03293047df182ca7dcb1f73e1a73..59f51ba774e44cac11012b78983219226c827f3b 100644 (file)
@@ -46,13 +46,13 @@ static bool api_srvsvc_NetCharDevEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetCharDevEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -281,13 +281,13 @@ static bool api_srvsvc_NetCharDevQEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetCharDevQEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -664,13 +664,13 @@ static bool api_srvsvc_NetConnEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetConnEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -746,13 +746,13 @@ static bool api_srvsvc_NetFileEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetFileEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -981,13 +981,13 @@ static bool api_srvsvc_NetSessEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetSessEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -1211,13 +1211,13 @@ static bool api_srvsvc_NetShareEnumAll(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetShareEnumAll(p, r);
 
        if (p->rng_fault_state) {
@@ -1829,13 +1829,13 @@ static bool api_srvsvc_NetDiskEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info = r->in.info;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetDiskEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -2064,13 +2064,13 @@ static bool api_srvsvc_NetTransportEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.transports = r->in.transports;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetTransportEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -2451,13 +2451,13 @@ static bool api_srvsvc_NetPathCanonicalize(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.pathtype = r->in.pathtype;
        r->out.can_path = talloc_zero_array(r, uint8_t, r->in.maxbuf);
        if (r->out.can_path == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.pathtype = r->in.pathtype;
        r->out.result = _srvsvc_NetPathCanonicalize(p, r);
 
        if (p->rng_fault_state) {
@@ -2825,13 +2825,13 @@ static bool api_srvsvc_NetShareEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info_ctr = r->in.info_ctr;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.totalentries = talloc_zero(r, uint32_t);
        if (r->out.totalentries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _srvsvc_NetShareEnum(p, r);
 
        if (p->rng_fault_state) {
index f37111137eae63116bd33ed95d675b420ee9ea05..5b30bf00f7860833c53afab2d188e6460d35f5c3 100644 (file)
@@ -1139,6 +1139,7 @@ static bool api_svcctl_EnumServicesStatusW(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.resume_handle = r->in.resume_handle;
        r->out.service = talloc_zero_array(r, uint8_t, r->in.buf_size);
        if (r->out.service == NULL) {
                talloc_free(r);
@@ -1157,7 +1158,6 @@ static bool api_svcctl_EnumServicesStatusW(pipes_struct *p)
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _svcctl_EnumServicesStatusW(p, r);
 
        if (p->rng_fault_state) {
@@ -1637,13 +1637,13 @@ static bool api_svcctl_GetServiceDisplayNameW(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.display_name_length = r->in.display_name_length;
        r->out.display_name = talloc_zero(r, const char *);
        if (r->out.display_name == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.display_name_length = r->in.display_name_length;
        r->out.result = _svcctl_GetServiceDisplayNameW(p, r);
 
        if (p->rng_fault_state) {
@@ -1718,13 +1718,13 @@ static bool api_svcctl_GetServiceKeyNameW(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.display_name_length = r->in.display_name_length;
        r->out.key_name = talloc_zero(r, const char *);
        if (r->out.key_name == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.display_name_length = r->in.display_name_length;
        r->out.result = _svcctl_GetServiceKeyNameW(p, r);
 
        if (p->rng_fault_state) {
@@ -2124,6 +2124,7 @@ static bool api_svcctl_EnumServicesStatusA(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.resume_handle = r->in.resume_handle;
        r->out.service = talloc_zero_array(r, uint8_t, r->in.buf_size);
        if (r->out.service == NULL) {
                talloc_free(r);
@@ -2142,7 +2143,6 @@ static bool api_svcctl_EnumServicesStatusA(pipes_struct *p)
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _svcctl_EnumServicesStatusA(p, r);
 
        if (p->rng_fault_state) {
@@ -2615,13 +2615,13 @@ static bool api_svcctl_GetServiceDisplayNameA(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.display_name_length = r->in.display_name_length;
        r->out.display_name = talloc_zero(r, const char *);
        if (r->out.display_name == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.display_name_length = r->in.display_name_length;
        r->out.result = _svcctl_GetServiceDisplayNameA(p, r);
 
        if (p->rng_fault_state) {
@@ -2696,13 +2696,13 @@ static bool api_svcctl_GetServiceKeyNameA(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.display_name_length = r->in.display_name_length;
        r->out.key_name = talloc_zero(r, const char *);
        if (r->out.key_name == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.display_name_length = r->in.display_name_length;
        r->out.result = _svcctl_GetServiceKeyNameA(p, r);
 
        if (p->rng_fault_state) {
@@ -3327,6 +3327,7 @@ static bool api_EnumServicesStatusExA(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.resume_handle = r->in.resume_handle;
        r->out.services = talloc_zero_array(r, uint8_t, r->in.buf_size);
        if (r->out.services == NULL) {
                talloc_free(r);
@@ -3345,7 +3346,6 @@ static bool api_EnumServicesStatusExA(pipes_struct *p)
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.group_name = talloc_zero(r, const char *);
        if (r->out.group_name == NULL) {
                talloc_free(r);
@@ -3426,6 +3426,7 @@ static bool api_EnumServicesStatusExW(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.resume_handle = r->in.resume_handle;
        r->out.services = talloc_zero_array(r, uint8_t, r->in.buf_size);
        if (r->out.services == NULL) {
                talloc_free(r);
@@ -3444,7 +3445,6 @@ static bool api_EnumServicesStatusExW(pipes_struct *p)
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _EnumServicesStatusExW(p, r);
 
        if (p->rng_fault_state) {
index 77b0a1c5d2589e5dd9b9b3e9489d1c5dc884887f..ac70b41219b36650d645f0ad243c2c617f68e416 100644 (file)
@@ -520,13 +520,13 @@ static bool api_winreg_CreateKey(pipes_struct *p)
        }
 
        ZERO_STRUCT(r->out);
+       r->out.action_taken = r->in.action_taken;
        r->out.new_handle = talloc_zero(r, struct policy_handle);
        if (r->out.new_handle == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.action_taken = r->in.action_taken;
        r->out.result = _winreg_CreateKey(p, r);
 
        if (p->rng_fault_state) {
index 9c07fa86ea329a128bb4ff5cd8c32f6141c9d74b..61a5be081f84c990b02ef0958c0a9b7a3b79cf04 100644 (file)
@@ -201,13 +201,13 @@ static bool api_wkssvc_NetWkstaEnumUsers(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info = r->in.info;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.entries_read = talloc_zero(r, uint32_t);
        if (r->out.entries_read == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _wkssvc_NetWkstaEnumUsers(p, r);
 
        if (p->rng_fault_state) {
@@ -438,13 +438,13 @@ static bool api_wkssvc_NetWkstaTransportEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info = r->in.info;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.total_entries = talloc_zero(r, uint32_t);
        if (r->out.total_entries == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _wkssvc_NetWkstaTransportEnum(p, r);
 
        if (p->rng_fault_state) {
@@ -896,13 +896,13 @@ static bool api_wkssvc_NetrUseEnum(pipes_struct *p)
 
        ZERO_STRUCT(r->out);
        r->out.info = r->in.info;
+       r->out.resume_handle = r->in.resume_handle;
        r->out.entries_read = talloc_zero(r, uint32_t);
        if (r->out.entries_read == NULL) {
                talloc_free(r);
                return false;
        }
 
-       r->out.resume_handle = r->in.resume_handle;
        r->out.result = _wkssvc_NetrUseEnum(p, r);
 
        if (p->rng_fault_state) {