PW32G             191 win32/registry.c 	if (!PW32G(registry_directories)) {
PW32G             192 win32/registry.c 		PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable));
PW32G             193 win32/registry.c 		if (!PW32G(registry_directories)) {
PW32G             196 win32/registry.c 		zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1);
PW32G             197 win32/registry.c 		if (!OpenPhpRegistryKey("\\Per Directory Values", &PW32G(registry_key))) {
PW32G             198 win32/registry.c 			PW32G(registry_key) = NULL;
PW32G             201 win32/registry.c 		PW32G(registry_event) = CreateEvent(NULL, TRUE, FALSE, NULL);
PW32G             202 win32/registry.c 		if (PW32G(registry_event)) {
PW32G             203 win32/registry.c 			RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE);
PW32G             205 win32/registry.c 		if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) {
PW32G             208 win32/registry.c 	} else if (PW32G(registry_event) && WaitForSingleObject(PW32G(registry_event), 0) == WAIT_OBJECT_0) {
PW32G             209 win32/registry.c 		RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE);
PW32G             210 win32/registry.c 		zend_hash_clean(PW32G(registry_directories));
PW32G             211 win32/registry.c 		if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) {
PW32G             214 win32/registry.c 	} else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) {
PW32G             262 win32/registry.c 		HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len);
PW32G             219 win32/sendmail.c 		strcpy(PW32G(mail_host), host);
PW32G             302 win32/sendmail.c 			PW32G(mail_host), !INI_INT("smtp_port") ? 25 : INI_INT("smtp_port"));
PW32G             338 win32/sendmail.c 	shutdown(PW32G(mail_socket), 0);
PW32G             339 win32/sendmail.c 	closesocket(PW32G(mail_socket));
PW32G             411 win32/sendmail.c 	snprintf(PW32G(mail_buffer), sizeof(PW32G(mail_buffer)), "HELO %s\r\n", PW32G(mail_local_host));
PW32G             415 win32/sendmail.c 	if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             421 win32/sendmail.c 		if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             431 win32/sendmail.c 	FormatEmailAddress(PW32G(mail_buffer), RPath, "MAIL FROM:<%s>\r\n");
PW32G             432 win32/sendmail.c 	if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             446 win32/sendmail.c 		FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n");
PW32G             447 win32/sendmail.c 		if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             467 win32/sendmail.c 			FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n");
PW32G             468 win32/sendmail.c 			if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             497 win32/sendmail.c 			FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n");
PW32G             498 win32/sendmail.c 			if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             522 win32/sendmail.c 			FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n");
PW32G             523 win32/sendmail.c 			if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             555 win32/sendmail.c 				FormatEmailAddress(PW32G(mail_buffer), token, "RCPT TO:<%s>\r\n");
PW32G             556 win32/sendmail.c 				if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
PW32G             784 win32/sendmail.c 	if ((PW32G(mail_socket) = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) {
PW32G             789 win32/sendmail.c 	if (gethostname(PW32G(mail_local_host), HOST_NAME_LEN)) {
PW32G             790 win32/sendmail.c 		closesocket(PW32G(mail_socket));
PW32G             794 win32/sendmail.c 	ent = gethostbyname(PW32G(mail_local_host));
PW32G             797 win32/sendmail.c 		closesocket(PW32G(mail_socket));
PW32G             810 win32/sendmail.c 			closesocket(PW32G(mail_socket));
PW32G             814 win32/sendmail.c 		strcpy(PW32G(mail_local_host), "[");
PW32G             815 win32/sendmail.c 		strcpy(PW32G(mail_local_host) + 1, ent->h_name);
PW32G             816 win32/sendmail.c 		strcpy(PW32G(mail_local_host) + namelen + 1, "]");
PW32G             819 win32/sendmail.c 			closesocket(PW32G(mail_socket));
PW32G             823 win32/sendmail.c 		strcpy(PW32G(mail_local_host), ent->h_name);
PW32G             842 win32/sendmail.c 	sock_in.sin_addr.S_un.S_addr = GetAddr(PW32G(mail_host));
PW32G             844 win32/sendmail.c 	if (connect(PW32G(mail_socket), (LPSOCKADDR) & sock_in, sizeof(sock_in))) {
PW32G             845 win32/sendmail.c 		closesocket(PW32G(mail_socket));
PW32G             870 win32/sendmail.c 		if ((slen = send(PW32G(mail_socket), msg + index, len, 0)) < 1)
PW32G             899 win32/sendmail.c 	if ((rlen = recv(PW32G(mail_socket), buf + Index, ((MAIL_BUFFER_SIZE) - 1) - Received, 0)) < 1) {
PW32G              64 win32/wsyslog.c 	if (INVALID_HANDLE_VALUE != PW32G(log_source)) {
PW32G              65 win32/wsyslog.c 		DeregisterEventSource(PW32G(log_source));
PW32G              66 win32/wsyslog.c 		PW32G(log_source) = INVALID_HANDLE_VALUE;
PW32G              68 win32/wsyslog.c 	if (PW32G(log_header)) {
PW32G              69 win32/wsyslog.c 		efree(PW32G(log_header));
PW32G              70 win32/wsyslog.c 		PW32G(log_header) = NULL;
PW32G              89 win32/wsyslog.c 	if (INVALID_HANDLE_VALUE == PW32G(log_source))
PW32G             107 win32/wsyslog.c 	strs[0] = PW32G(log_header);	/* write header */
PW32G             110 win32/wsyslog.c 	ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL);
PW32G             127 win32/wsyslog.c 	PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);
PW32G             128 win32/wsyslog.c 	spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());