Home
last modified time | relevance | path

Searched refs:get_be (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetnetgrent.c708 struct files_getnetgr_be *get_be; in netgr_set() local
711 get_be = malloc(sizeof (*get_be)); in netgr_set()
712 if (get_be == NULL) { in netgr_set()
716 get_be->all_members = NULL; in netgr_set()
718 &get_be->all_members); in netgr_set()
721 get_be->ops = getnetgr_ops; in netgr_set()
722 get_be->n_ops = ARRAY_SIZE(getnetgr_ops); in netgr_set()
723 get_be->netgroup = strdup(args->netgroup); in netgr_set()
724 if (get_be->netgroup == NULL) { in netgr_set()
727 free(get_be); in netgr_set()
[all …]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c553 struct nis_getnetgr_be *get_be; local
556 get_be = (struct nis_getnetgr_be *)malloc(sizeof (*get_be));
557 if (get_be == 0) {
561 get_be->all_members = 0;
563 &get_be->all_members);
566 get_be->ops = getnetgr_ops;
567 get_be->n_ops = sizeof (getnetgr_ops) /
569 get_be->netgroup = strdup(args->netgroup);
570 get_be->next_member = get_be->all_members;
572 args->iterator = (nss_backend_t *)get_be;
[all …]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c937 ldap_backend_ptr get_be; in netgr_set() local
964 if ((get_be = (ldap_backend_ptr)malloc(sizeof (*get_be))) == NULL) in netgr_set()
966 get_be->ops = getnetgroup_ops; in netgr_set()
967 get_be->nops = sizeof (getnetgroup_ops) / sizeof (getnetgroup_ops[0]); in netgr_set()
968 get_be->tablename = NULL; in netgr_set()
969 get_be->attrs = netgrent_attrs; in netgr_set()
970 get_be->result = NULL; in netgr_set()
971 get_be->ldapobj2str = NULL; in netgr_set()
972 get_be->setcalled = 1; in netgr_set()
973 get_be->filter = NULL; in netgr_set()
[all …]