Lines Matching refs:hostService
288 switch_database_t *hostService = NULL; in get_db() local
340 (void) thr_getspecific(switchConfigKey, (void **) &hostService); in get_db()
341 if (hostService == NULL) { in get_db()
342 hostService = calloc(1, sizeof (switch_database_t)); in get_db()
343 if (hostService == NULL) { in get_db()
346 (void) thr_setspecific(switchConfigKey, hostService); in get_db()
358 if (strlen(linep) >= hostService->alloced) { in get_db()
359 ptr = (char *)realloc((void *)hostService->conf, in get_db()
362 free((void *)hostService->conf); in get_db()
363 hostService->conf = NULL; in get_db()
364 hostService->alloced = 0; in get_db()
368 hostService->conf = ptr; in get_db()
369 hostService->alloced = strlen(linep) + 1; in get_db()
372 if (remove_ldap(hostService->conf, linep, hostService->alloced)) in get_db()
373 return (hostService->conf); in get_db()