php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_win32_globals.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Wez Furlong <wez@php.net> |
14 +----------------------------------------------------------------------+
15*/
16
17#ifndef PHP_WIN32_GLOBALS_H
18#define PHP_WIN32_GLOBALS_H
19
20/* misc globals for thread safety under win32 */
21
22#include "win32/sendmail.h"
23
25
26#ifdef ZTS
27# define PW32G(v) ZEND_TSRMG(php_win32_core_globals_id, php_win32_core_globals*, v)
28extern PHPAPI int php_win32_core_globals_id;
29#else
30# define PW32G(v) (the_php_win32_core_globals.v)
32#endif
33
48
49void php_win32_core_globals_ctor(void *vg);
50void php_win32_core_globals_dtor(void *vg);
51PHP_RSHUTDOWN_FUNCTION(win32_core_globals);
52
53#endif
php_win32_core_globals the_php_win32_core_globals
Definition globals.c:25
#define PHP_RSHUTDOWN_FUNCTION
Definition php.h:403
#define PHPAPI
Definition php.h:71
void php_win32_core_globals_ctor(void *vg)
Definition globals.c:28
struct _php_win32_core_globals php_win32_core_globals
void php_win32_core_globals_dtor(void *vg)
Definition globals.c:38
#define MAIL_BUFFER_SIZE
Definition sendmail.h:7
#define HOST_NAME_LEN
Definition sendmail.h:5
char mail_local_host[HOST_NAME_LEN]
char mail_buffer[MAIL_BUFFER_SIZE]
char mail_host[HOST_NAME_LEN]
struct _zend_array HashTable
Definition zend_types.h:386