cvs: pecl /hyperwave hg_comm.c hg_comm.h hw.c hw_error.h
| From: | Uwe Steinmann | Date: | Tue, 15 Jul 2003 05:27:48 +0000 |
| Subject: | cvs: pecl /hyperwave hg_comm.c hg_comm.h hw.c hw_error.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-361@lists.php.net to get a copy of this message | ||
steinm Tue Jul 15 01:27:48 2003 EDT
Modified files:
/pecl/hyperwave hg_comm.c hg_comm.h hw.c hw_error.h
Log:
- removed HYPERWAVE define
Index: pecl/hyperwave/hg_comm.c
diff -u pecl/hyperwave/hg_comm.c:1.57 pecl/hyperwave/hg_comm.c:1.58
--- pecl/hyperwave/hg_comm.c:1.57 Sun Jun 15 23:05:24 2003
+++ pecl/hyperwave/hg_comm.c Tue Jul 15 01:27:48 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hg_comm.c,v 1.57 2003/06/16 03:05:24 iliaa Exp $ */
+/* $Id: hg_comm.c,v 1.58 2003/07/15 05:27:48 steinm Exp $ */
/* #define HW_DEBUG */
@@ -25,8 +25,6 @@
#include "php_globals.h"
#include "SAPI.h"
-#if HYPERWAVE
-
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@@ -5830,8 +5828,6 @@
shutdown(sockfd, 2);
HWSOCK_FCLOSE(sockfd);
}
-
-#endif
/*
* Local variables:
Index: pecl/hyperwave/hg_comm.h
diff -u pecl/hyperwave/hg_comm.h:1.21 pecl/hyperwave/hg_comm.h:1.22
--- pecl/hyperwave/hg_comm.h:1.21 Tue Jun 10 16:03:29 2003
+++ pecl/hyperwave/hg_comm.h Tue Jul 15 01:27:48 2003
@@ -16,12 +16,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hg_comm.h,v 1.21 2003/06/10 20:03:29 imajes Exp $ */
+/* $Id: hg_comm.h,v 1.22 2003/07/15 05:27:48 steinm Exp $ */
#ifndef HG_COMM_H
#define HG_COMM_H
-#if HYPERWAVE
+/* #if HYPERWAVE */
#define newlist
@@ -235,4 +235,4 @@
send_mvcpdocscollscoll(sockfd, objectIDs, count, from, dest, mvcp, COLLECTION)
#endif
-#endif
+/* #endif */
Index: pecl/hyperwave/hw.c
diff -u pecl/hyperwave/hw.c:1.124 pecl/hyperwave/hw.c:1.125
--- pecl/hyperwave/hw.c:1.124 Sun Jun 15 23:05:24 2003
+++ pecl/hyperwave/hw.c Tue Jul 15 01:27:48 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hw.c,v 1.124 2003/06/16 03:05:24 iliaa Exp $ */
+/* $Id: hw.c,v 1.125 2003/07/15 05:27:48 steinm Exp $ */
#include <stdlib.h>
#include <errno.h>
@@ -37,8 +37,6 @@
#include <winsock2.h>
#endif
-#if HYPERWAVE
-
#include "php_ini.h"
#include "php_hyperwave.h"
@@ -50,6 +48,8 @@
#define HW_ATTR_LANG 2
#define HW_ATTR_NR 3
+ZEND_DECLARE_MODULE_GLOBALS(hw);
+
function_entry hw_functions[] = {
PHP_FE(hw_connect, NULL)
PHP_FE(hw_pconnect, NULL)
@@ -128,16 +128,6 @@
"hyperwave", hw_functions, PHP_MINIT(hw), PHP_MSHUTDOWN(hw), NULL, NULL, PHP_MINFO(hw),
NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
-/*
-#ifdef ZTS
-int hw_globals_id;
-#else
-PHP_HW_API php_hw_globals hw_globals;
-#endif
-*/
-
-ZEND_DECLARE_MODULE_GLOBALS(hw)
-
#ifdef COMPILE_DL_HYPERWAVE
ZEND_GET_MODULE(hw)
#endif
@@ -4046,6 +4036,7 @@
}
/* }}} */
+
void print_msg(hg_msg *msg, char *str, int txt)
{
char *ptr;
@@ -4068,8 +4059,6 @@
}
fprintf(stdout, "\n\n");
}
-
-#endif
/*
* Local variables:
Index: pecl/hyperwave/hw_error.h
diff -u pecl/hyperwave/hw_error.h:1.9 pecl/hyperwave/hw_error.h:1.10
--- pecl/hyperwave/hw_error.h:1.9 Tue Jun 10 16:03:30 2003
+++ pecl/hyperwave/hw_error.h Tue Jul 15 01:27:48 2003
@@ -16,12 +16,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hw_error.h,v 1.9 2003/06/10 20:03:30 imajes Exp $ */
+/* $Id: hw_error.h,v 1.10 2003/07/15 05:27:48 steinm Exp $ */
#ifndef HW_ERROR_H
#define HW_ERROR_H
-#if HYPERWAVE
+/* #if HYPERWAVE */
#define NOACCESS 1 /* Access denied */
#define NODOCS 2 /* No documents */
@@ -108,4 +108,4 @@
#define LOCKREFUSED 1064 /* Lock refused // could not lock the stores */
#endif
-#endif
+/* #endif */