Lines Matching refs:PW32G
65 if (PW32G(log_source)) { in closelog()
66 DeregisterEventSource(PW32G(log_source)); in closelog()
67 PW32G(log_source) = NULL; in closelog()
69 if (PW32G(log_header)) { in closelog()
70 STR_FREE(PW32G(log_header)); in closelog()
71 PW32G(log_header) = NULL; in closelog()
91 if (!PW32G(log_source)) in syslog()
109 strs[0] = PW32G(log_header); /* write header */ in syslog()
112 ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); in syslog()
128 if (PW32G(log_source)) { in openlog()
132 STR_FREE(PW32G(log_header)); in openlog()
134 PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); in openlog()
135 spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid()); in openlog()