cvs: php4 /ext/ircg ircg.c ircg_common.c php_ircg.h
| From: | Sascha Schumann | Date: | Mon, 28 Apr 2003 18:16:39 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c ircg_common.c php_ircg.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20545@lists.php.net to get a copy of this message | ||
sas Mon Apr 28 14:16:39 2003 EDT
Modified files:
/php4/ext/ircg ircg.c ircg_common.c php_ircg.h
Log:
build fixes
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.177 php4/ext/ircg/ircg.c:1.178
--- php4/ext/ircg/ircg.c:1.177 Mon Apr 28 11:18:39 2003
+++ php4/ext/ircg/ircg.c Mon Apr 28 14:16:39 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.177 2003/04/28 15:18:39 sas Exp $ */
+/* $Id: ircg.c,v 1.178 2003/04/28 18:16:39 sas Exp $ */
/* {{{ includes */
@@ -1026,6 +1026,8 @@
}
/* }}} */
+static void wbuf_hooks(irc_write_buf *p, void *data);
+
/* {{{ proto bool ircg_set_file(int connection, string path)
Sets logfile for connection */
PHP_FUNCTION(ircg_set_file)
@@ -1091,6 +1093,8 @@
{
put_irconn(data);
}
+
+#include "ext/standard/url.h"
static void wbuf_read_data(irc_write_buf *p, void *data, smart_str *s)
{
Index: php4/ext/ircg/ircg_common.c
diff -u php4/ext/ircg/ircg_common.c:1.6 php4/ext/ircg/ircg_common.c:1.7
--- php4/ext/ircg/ircg_common.c:1.6 Mon Apr 28 14:02:37 2003
+++ php4/ext/ircg/ircg_common.c Mon Apr 28 14:16:39 2003
@@ -16,7 +16,13 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg_common.c,v 1.6 2003/04/28 18:02:37 sas Exp $ */
+/* $Id: ircg_common.c,v 1.7 2003/04/28 18:16:39 sas Exp $ */
+
+#if YOU_ARE_SANE
+
+Then better walk away from this file.
+
+#endif
#include "php.h"
@@ -92,7 +98,7 @@
static int is_apache2;
static void *php_ircg_apa2_core_module;
-static void (*php_ircg_apa2_get_module_config)(void *, void *);
+static void *(*php_ircg_apa2_get_module_config)(void *, void *);
typedef struct {
void *a;
@@ -110,7 +116,7 @@
typedef struct {
void *a[8];
unsigned b;
- enum { REALLY_NOTHING } c;
+ enum { REALLY_NOTHING2 } c;
signed int d;
int e;
void *f[2];
Index: php4/ext/ircg/php_ircg.h
diff -u php4/ext/ircg/php_ircg.h:1.27 php4/ext/ircg/php_ircg.h:1.28
--- php4/ext/ircg/php_ircg.h:1.27 Wed Apr 23 00:02:10 2003
+++ php4/ext/ircg/php_ircg.h Mon Apr 28 14:16:39 2003
@@ -28,6 +28,7 @@
#define PHP_IRCG_API
#endif
+PHP_FUNCTION(ircg_set_on_read_data);
PHP_FUNCTION(ircg_set_on_die);
PHP_FUNCTION(ircg_pconnect);
PHP_FUNCTION(ircg_join);