Home
last modified time | relevance | path

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

/freebsd/usr.sbin/ypserv/
H A Dyp_dblookup.c83 struct dbent *dbptr; member
111 q->dbptr = malloc(sizeof(struct dbent)); in yp_malloc_qent()
112 if (q->dbptr == NULL) { in yp_malloc_qent()
117 bzero((char *)q->dbptr, sizeof(struct dbent)); in yp_malloc_qent()
135 if (q->dbptr->dbp) { in yp_free_qent()
136 (void)(q->dbptr->dbp->close)(q->dbptr->dbp); in yp_free_qent()
137 q->dbptr->dbp = NULL; in yp_free_qent()
142 free(q->dbptr->name); in yp_free_qent()
147 free(q->dbptr); in yp_free_qent()
148 q->dbptr = NULL; in yp_free_qent()
[all …]