• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/samba/source/rpc_parse/

Lines Matching defs:depth

27 static BOOL ds_io_dominfobasic( const char *desc, prs_struct *ps, int depth, DSROLE_PRIMARY_DOMAIN_INFO_BASIC **basic)
37 if ( !prs_uint16("machine_role", ps, depth, &p->machine_role) )
39 if ( !prs_uint16("unknown", ps, depth, &p->unknown) )
42 if ( !prs_uint32("flags", ps, depth, &p->flags) )
45 if ( !prs_uint32("netbios_ptr", ps, depth, &p->netbios_ptr) )
47 if ( !prs_uint32("dnsname_ptr", ps, depth, &p->dnsname_ptr) )
49 if ( !prs_uint32("forestname_ptr", ps, depth, &p->forestname_ptr) )
52 if ( !prs_uint8s(False, "domain_guid", ps, depth, p->domain_guid.info, GUID_SIZE) )
55 if ( !smb_io_unistr2( "netbios_domain", &p->netbios_domain, p->netbios_ptr, ps, depth) )
60 if ( !smb_io_unistr2( "dns_domain", &p->dns_domain, p->dnsname_ptr, ps, depth) )
65 if ( !smb_io_unistr2( "forest_domain", &p->forest_domain, p->forestname_ptr, ps, depth) )
78 BOOL ds_io_q_getprimdominfo( const char *desc, prs_struct *ps, int depth, DS_Q_GETPRIMDOMINFO *q_u)
80 prs_debug(ps, depth, desc, "ds_io_q_getprimdominfo");
81 depth++;
86 if ( !prs_uint16( "level", ps, depth, &q_u->level ) )
95 BOOL ds_io_r_getprimdominfo( const char *desc, prs_struct *ps, int depth, DS_R_GETPRIMDOMINFO *r_u)
97 prs_debug(ps, depth, desc, "ds_io_r_getprimdominfo");
98 depth++;
103 if ( !prs_uint32( "ptr", ps, depth, &r_u->ptr ) )
108 if ( !prs_uint16( "level", ps, depth, &r_u->level ) )
111 if ( !prs_uint16( "unknown0", ps, depth, &r_u->unknown0 ) )
117 if ( !ds_io_dominfobasic( "dominfobasic", ps, depth, &r_u->info.basic ) )
128 if ( !prs_ntstatus("status", ps, depth, &r_u->status ) )
156 static BOOL ds_io_domain_trusts( const char *desc, prs_struct *ps, int depth, DS_DOMAIN_TRUSTS *trust)
158 prs_debug(ps, depth, desc, "ds_io_dom_trusts_ctr");
159 depth++;
161 if ( !prs_uint32( "netbios_ptr", ps, depth, &trust->netbios_ptr ) )
164 if ( !prs_uint32( "dns_ptr", ps, depth, &trust->dns_ptr ) )
167 if ( !prs_uint32( "flags", ps, depth, &trust->flags ) )
170 if ( !prs_uint32( "parent_index", ps, depth, &trust->parent_index ) )
173 if ( !prs_uint32( "trust_type", ps, depth, &trust->trust_type ) )
176 if ( !prs_uint32( "trust_attributes", ps, depth, &trust->trust_attributes ) )
179 if ( !prs_uint32( "sid_ptr", ps, depth, &trust->sid_ptr ) )
182 if ( !prs_uint8s(False, "guid", ps, depth, trust->guid.info, GUID_SIZE) )
191 static BOOL ds_io_dom_trusts_ctr( const char *desc, prs_struct *ps, int depth, DS_DOMAIN_TRUSTS_CTR *ctr)
195 prs_debug(ps, depth, desc, "ds_io_dom_trusts_ctr");
196 depth++;
198 if ( !prs_uint32( "ptr", ps, depth, &ctr->ptr ) )
201 if ( !prs_uint32( "max_count", ps, depth, &ctr->max_count ) )
220 if ( !ds_io_domain_trusts("domain_trusts", ps, depth, &ctr->trusts[i] ) )
226 if ( !smb_io_unistr2("netbios_domain", &ctr->trusts[i].netbios_domain, ctr->trusts[i].netbios_ptr, ps, depth) )
232 if ( !smb_io_unistr2("dns_domain", &ctr->trusts[i].dns_domain, ctr->trusts[i].dns_ptr, ps, depth) )
239 if ( !smb_io_dom_sid2("sid", &ctr->trusts[i].sid, ps, depth ) )
251 BOOL ds_io_q_enum_domain_trusts( const char *desc, prs_struct *ps, int depth, DS_Q_ENUM_DOM_TRUSTS *q_u)
253 prs_debug(ps, depth, desc, "ds_io_q_enum_domain_trusts");
254 depth++;
259 if ( !prs_uint32( "server_ptr", ps, depth, &q_u->server_ptr ) )
262 if ( !smb_io_unistr2("server", &q_u->server, q_u->server_ptr, ps, depth) )
268 if ( !prs_uint32( "flags", ps, depth, &q_u->flags ) )
277 BOOL ds_io_r_enum_domain_trusts( const char *desc, prs_struct *ps, int depth, DS_R_ENUM_DOM_TRUSTS *r_u)
279 prs_debug(ps, depth, desc, "ds_io_r_enum_domain_trusts");
280 depth++;
285 if ( !prs_uint32( "num_domains", ps, depth, &r_u->num_domains ) )
289 if ( !ds_io_dom_trusts_ctr("domains", ps, depth, &r_u->domains ) )
296 if ( !prs_ntstatus("status", ps, depth, &r_u->status ) )