• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/librpc/ndr/

Lines Matching refs:ar

26 enum ndr_err_code ndr_pull_DUALSTRINGARRAY(struct ndr_pull *ndr, int ndr_flags, struct DUALSTRINGARRAY *ar)
40 ar->stringbindings = talloc_array(ndr, struct STRINGBINDING *, num_entries);
41 ar->stringbindings[0] = NULL;
49 ar->stringbindings = talloc_realloc(ndr, ar->stringbindings, struct STRINGBINDING *, towernum+2);
50 ar->stringbindings[towernum] = talloc(ndr, struct STRINGBINDING);
51 NDR_CHECK(ndr_pull_STRINGBINDING(ndr, ndr_flags, ar->stringbindings[towernum]));
56 ar->stringbindings[towernum] = NULL;
59 ar->securitybindings = talloc_array(ndr, struct SECURITYBINDING *, num_entries);
60 ar->securitybindings[0] = NULL;
68 ar->securitybindings = talloc_realloc(ndr, ar->securitybindings, struct SECURITYBINDING *, towernum+2);
69 ar->securitybindings[towernum] = talloc(ndr, struct SECURITYBINDING);
70 NDR_CHECK(ndr_pull_SECURITYBINDING(ndr, ndr_flags, ar->securitybindings[towernum]));
75 ar->securitybindings[towernum] = NULL;
80 enum ndr_err_code ndr_push_DUALSTRINGARRAY(struct ndr_push *ndr, int ndr_flags, const struct DUALSTRINGARRAY *ar)
88 void ndr_print_DUALSTRINGARRAY(struct ndr_print *ndr, const char *name, const struct DUALSTRINGARRAY *ar)
95 for (i=0;ar->stringbindings[i];i++) {
99 ndr_print_STRINGBINDING(ndr, idx, ar->stringbindings[i]);
106 for (i=0;ar->securitybindings[i];i++) {
110 ndr_print_SECURITYBINDING(ndr, idx, ar->securitybindings[i]);
117 enum ndr_err_code ndr_pull_STRINGARRAY(struct ndr_pull *ndr, int ndr_flags, struct STRINGARRAY *ar)
129 ar->stringbindings = talloc_array(ndr, struct STRINGBINDING *, 1);
130 ar->stringbindings[0] = NULL;
138 ar->stringbindings = talloc_realloc(ndr, ar->stringbindings, struct STRINGBINDING *, towernum+2);
139 ar->stringbindings[towernum] = talloc(ndr, struct STRINGBINDING);
140 NDR_CHECK(ndr_pull_STRINGBINDING(ndr, ndr_flags, ar->stringbindings[towernum]));
145 ar->stringbindings[towernum] = NULL;
151 enum ndr_err_code ndr_push_STRINGARRAY(struct ndr_push *ndr, int ndr_flags, const struct STRINGARRAY *ar)
159 void ndr_print_STRINGARRAY(struct ndr_print *ndr, const char *name, const struct STRINGARRAY *ar)
164 for (i=0;ar->stringbindings[i];i++) {
168 ndr_print_STRINGBINDING(ndr, idx, ar->stringbindings[i]);