Lines Matching defs:list
942 * Enumerate the list of accounts (i.e. SIDs). Use the handle returned
948 * is available. The list of accounts will be returned in accounts.
949 * This list is dynamically allocated using malloc, it should be freed
1015 * Enumerate the list of trusted domains. Use the handle returned from
1029 smb_trusted_domains_t *list)
1035 if (list == NULL)
1040 bzero(list, sizeof (smb_trusted_domains_t));
1062 lsar_set_trusted_domains(arg.enum_buf, list);
1073 smb_trusted_domains_t *list)
1079 if (list == NULL)
1084 bzero(list, sizeof (smb_trusted_domains_t));
1106 lsar_set_trusted_domains_ex(arg.enum_buf, list);
1283 smb_trusted_domains_t *list)
1288 if (list == NULL || enum_buf == NULL || enum_buf->entries_read == 0)
1291 list->td_num = 0;
1292 list->td_domains = calloc(enum_buf->entries_read,
1295 if (list->td_domains == NULL)
1298 list->td_num = enum_buf->entries_read;
1299 for (i = 0; i < list->td_num; i++) {
1308 &list->td_domains[i]);
1314 smb_trusted_domains_t *list)
1319 if (list == NULL || enum_buf == NULL || enum_buf->entries_read == 0)
1322 list->td_num = 0;
1323 list->td_domains = calloc(enum_buf->entries_read,
1326 if (list->td_domains == NULL)
1329 list->td_num = enum_buf->entries_read;
1330 for (i = 0; i < list->td_num; i++) {
1334 "", 0, 0, 0, &list->td_domains[i]);