Lines Matching refs:num_aces
30 SEC_ACL *make_sec_acl(TALLOC_CTX *ctx, uint16 revision, int num_aces, SEC_ACE *ace_list)
39 dst->num_aces = num_aces;
45 entries in it. This is achieved by checking that num_aces is a
48 if ((num_aces) &&
49 ((dst->aces = TALLOC_ARRAY(ctx, SEC_ACE, num_aces))
54 for (i = 0; i < num_aces; i++) {
71 return make_sec_acl(ctx, src->revision, src->num_aces, src->aces);
95 if (s1->num_aces != s2->num_aces) {
96 DEBUG(10, ("sec_acl_equal(): num_aces differs (%d != %d)\n",
104 for (i = 0; i < s1->num_aces; i++) {
107 for (j = 0; j < s2->num_aces; j++) {