xref: /PHP-7.4/ext/session/mod_user.h (revision 90613d22)
155272d3dSSascha Schumann /*
255272d3dSSascha Schumann    +----------------------------------------------------------------------+
338933514SSebastian Bergmann    | PHP Version 4                                                        |
455272d3dSSascha Schumann    +----------------------------------------------------------------------+
538933514SSebastian Bergmann    | Copyright (c) 1997-2002 The PHP Group                                |
655272d3dSSascha Schumann    +----------------------------------------------------------------------+
7e043439fSZeev Suraski    | This source file is subject to version 2.02 of the PHP license,      |
855272d3dSSascha Schumann    | that is bundled with this package in the file LICENSE, and is        |
955272d3dSSascha Schumann    | available at through the world-wide-web at                           |
10e043439fSZeev Suraski    | http://www.php.net/license/2_02.txt.                                 |
1155272d3dSSascha Schumann    | If you did not receive a copy of the PHP license and are unable to   |
1255272d3dSSascha Schumann    | obtain it through the world-wide-web, please send a note to          |
1355272d3dSSascha Schumann    | license@php.net so we can mail you a copy immediately.               |
1455272d3dSSascha Schumann    +----------------------------------------------------------------------+
15*90613d22SSebastian Bergmann    | Author: Sascha Schumann <sascha@schumann.cx>                         |
1655272d3dSSascha Schumann    +----------------------------------------------------------------------+
1755272d3dSSascha Schumann  */
1855272d3dSSascha Schumann 
1955272d3dSSascha Schumann #ifndef MOD_USER_H
2055272d3dSSascha Schumann #define MOD_USER_H
2155272d3dSSascha Schumann 
2255272d3dSSascha Schumann typedef union {
23d2d5320eSSascha Schumann 	zval *names[6];
2455272d3dSSascha Schumann 	struct {
25d2d5320eSSascha Schumann 		zval *ps_open;
26d2d5320eSSascha Schumann 		zval *ps_close;
27d2d5320eSSascha Schumann 		zval *ps_read;
28d2d5320eSSascha Schumann 		zval *ps_write;
29d2d5320eSSascha Schumann 		zval *ps_destroy;
30d2d5320eSSascha Schumann 		zval *ps_gc;
3155272d3dSSascha Schumann 	} name;
3255272d3dSSascha Schumann } ps_user;
3355272d3dSSascha Schumann 
3455272d3dSSascha Schumann extern ps_module ps_mod_user;
3555272d3dSSascha Schumann #define ps_user_ptr &ps_mod_user
3655272d3dSSascha Schumann 
3755272d3dSSascha Schumann PS_FUNCS(user);
3855272d3dSSascha Schumann 
3955272d3dSSascha Schumann #endif