Searched refs:returnCtx (Results 1 – 1 of 1) sorted by relevance
80 LogCtx *returnCtx = NULL; in sundsloginit() local82 if ((returnCtx = (LogCtx *)malloc(sizeof (LogCtx))) == NULL) in sundsloginit()84 if ((returnCtx->logfile = strdup(name)) == NULL) { in sundsloginit()85 free(returnCtx); in sundsloginit()88 openlog(returnCtx->logfile, OPENLOG_OPTIONS, facility); in sundsloginit()89 returnCtx->syslogopen = 1; in sundsloginit()90 pthread_mutex_init(&(returnCtx->log_mutex), NULL); in sundsloginit()91 returnCtx->log_debug = debug_level; in sundsloginit()92 returnCtx->log_syslog = syslog_level; in sundsloginit()93 return (returnCtx); in sundsloginit()