cvs: php4 /ext/sysvshm php_sysvshm.h sysvshm.c
| From: | Egon Schmid | Date: | Mon, 10 Jul 2000 19:46:29 +0000 |
| Subject: | cvs: php4 /ext/sysvshm php_sysvshm.h sysvshm.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-708@lists.php.net to get a copy of this message | ||
eschmid Mon Jul 10 12:46:29 2000 EDT
Modified files:
/php4/ext/sysvshm sysvshm.c php_sysvshm.h
Log:
Changed some protos and the authors email address.
Index: php4/ext/sysvshm/sysvshm.c
diff -u php4/ext/sysvshm/sysvshm.c:1.27 php4/ext/sysvshm/sysvshm.c:1.28
--- php4/ext/sysvshm/sysvshm.c:1.27 Mon Jun 5 12:47:45 2000
+++ php4/ext/sysvshm/sysvshm.c Mon Jul 10 12:46:29 2000
@@ -12,11 +12,11 @@
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
- | Authors: Christian Cartus <chc@idgruppe.de> |
+ | Authors: Christian Cartus <cartus@atrior.de> |
+----------------------------------------------------------------------+
*/
-/* $Id: sysvshm.c,v 1.27 2000/06/05 19:47:45 andi Exp $ */
+/* $Id: sysvshm.c,v 1.28 2000/07/10 19:46:29 eschmid Exp $ */
/* This has been built and tested on Solaris 2.6.
* It may not compile or execute correctly on other systems.
@@ -75,7 +75,7 @@
}
-/* {{{ proto int shm_attach(int key, int size, int flag)
+/* {{{ proto int shm_attach(int key [, int memsize [, int perm]])
Return an id for the shared memory with the given key */
PHP_FUNCTION(shm_attach)
{
@@ -150,7 +150,7 @@
-/* {{{ proto int shm_detach(int id)
+/* {{{ proto int shm_detach(int shm_identifier)
Releases the shared memory attachment with the given id */
PHP_FUNCTION(shm_detach)
{
@@ -201,7 +201,7 @@
-/* {{{ proto int shm_put_var(int id, int key, object *variable)
+/* {{{ proto int shm_put_var(int shm_identifier, int variable_key, mixed_variable)
Insert a variable into shared memory */
PHP_FUNCTION(shm_put_var)
{
@@ -248,9 +248,7 @@
/* }}} */
-
-
-/* {{{ proto string/float/int/array shm_get_var(int id, int key)
+/* {{{ proto mixed shm_get_var(int id, int variable_key)
Returns a variable into shared memory */
PHP_FUNCTION(shm_get_var)
{
@@ -295,7 +293,7 @@
}
/* }}} */
-/* {{{ proto int shm_remove_var(int id, int key)
+/* {{{ proto int shm_remove_var(int id, variable_key)
Removes variable from shared memory */
PHP_FUNCTION(shm_remove_var)
{
Index: php4/ext/sysvshm/php_sysvshm.h
diff -u php4/ext/sysvshm/php_sysvshm.h:1.5 php4/ext/sysvshm/php_sysvshm.h:1.6
--- php4/ext/sysvshm/php_sysvshm.h:1.5 Sun Jul 2 16:46:49 2000
+++ php4/ext/sysvshm/php_sysvshm.h Mon Jul 10 12:46:29 2000
@@ -23,12 +23,12 @@
| If you did not, or have any questions about PHP licensing, please |
| contact core@php.net. |
+----------------------------------------------------------------------+
- | Authors: Christian Cartus <chc@idgruppe.de> |
+ | Authors: Christian Cartus <cartus@atrior.de> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_sysvshm.h,v 1.5 2000/07/02 23:46:49 sas Exp $ */
+/* $Id: php_sysvshm.h,v 1.6 2000/07/10 19:46:29 eschmid Exp $ */
#ifndef PHP_SYSVSHM_H
#define PHP_SYSVSHM_H