From 88ec761548b66f58acc1a86cdd0fc164ca925476 Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Sun, 15 Oct 2006 21:09:28 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'. --- ext/sysvshm/php_sysvshm.h | 77 ----------------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 ext/sysvshm/php_sysvshm.h (limited to 'ext/sysvshm/php_sysvshm.h') diff --git a/ext/sysvshm/php_sysvshm.h b/ext/sysvshm/php_sysvshm.h deleted file mode 100644 index 344d9d0267..0000000000 --- a/ext/sysvshm/php_sysvshm.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2006 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.01 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.php.net/license/3_01.txt | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Author: Christian Cartus | - +----------------------------------------------------------------------+ -*/ - -/* $Id$ */ - -#ifndef PHP_SYSVSHM_H -#define PHP_SYSVSHM_H - -#if HAVE_SYSVSHM - -extern zend_module_entry sysvshm_module_entry; -#define sysvshm_module_ptr &sysvshm_module_entry - -#include -#include -#include - -typedef struct { - int le_shm; - long init_mem; -} sysvshm_module; - -typedef struct { - long key; - long length; - long next; - char mem; -} sysvshm_chunk; - -typedef struct { - char magic[8]; - long start; - long end; - long free; - long total; -} sysvshm_chunk_head; - -typedef struct { - key_t key; /* Key set by user */ - long id; /* Returned by shmget. */ - sysvshm_chunk_head *ptr; /* memoryaddress of shared memory */ -} sysvshm_shm; - -PHP_MINIT_FUNCTION(sysvshm); -PHP_FUNCTION(shm_attach); -PHP_FUNCTION(shm_detach); -PHP_FUNCTION(shm_remove); -PHP_FUNCTION(shm_put_var); -PHP_FUNCTION(shm_get_var); -PHP_FUNCTION(shm_remove_var); - -extern sysvshm_module php_sysvshm; - -#else - -#define sysvshm_module_ptr NULL - -#endif - -#define phpext_sysvshm_ptr sysvshm_module_ptr - -#endif /* PHP_SYSVSHM_H */ -- cgit v1.2.1