CVS update: php3/functions

From: Date: Sun, 04 Oct 1998 16:44:35 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1654@lists.php.net to get a copy of this message
Date: Sunday October 4, 1998 @ 12:44 Author: zeev Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv2203/functions Modified Files: php3_pgsql.h php3_var.h var.c Log Message: Fix missing prototypes for PostgreSQL and var.c Index: php3/functions/php3_pgsql.h diff -c php3/functions/php3_pgsql.h:1.17 php3/functions/php3_pgsql.h:1.18 *** php3/functions/php3_pgsql.h:1.17 Sat Sep 19 17:46:11 1998 --- php3/functions/php3_pgsql.h Sun Oct 4 12:44:32 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: php3_pgsql.h,v 1.17 1998/09/19 21:46:11 jah Exp $ */ #ifndef _PHP3_PGSQL_H #define _PHP3_PGSQL_H --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: php3_pgsql.h,v 1.18 1998/10/04 16:44:32 zeev Exp $ */ #ifndef _PHP3_PGSQL_H #define _PHP3_PGSQL_H *************** *** 42,47 **** --- 42,51 ---- extern php3_module_entry pgsql_module_entry; #define pgsql_module_ptr &pgsql_module_entry + + #include <libpq-fe.h> + #include <libpq/libpq-fs.h> + extern int php3_minit_pgsql(INIT_FUNC_ARGS); extern int php3_rinit_pgsql(INIT_FUNC_ARGS); extern void php3_pgsql_connect(INTERNAL_FUNCTION_PARAMETERS); *************** *** 77,84 **** extern void php3_pgsql_lo_write(INTERNAL_FUNCTION_PARAMETERS); extern void php3_pgsql_lo_readall(INTERNAL_FUNCTION_PARAMETERS); ! #include <libpq-fe.h> ! #include <libpq/libpq-fs.h> typedef struct pgLofp { PGconn *conn; --- 81,95 ---- extern void php3_pgsql_lo_write(INTERNAL_FUNCTION_PARAMETERS); extern void php3_pgsql_lo_readall(INTERNAL_FUNCTION_PARAMETERS); ! void php3_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent); ! int php3_pgsql_get_default_link(INTERNAL_FUNCTION_PARAMETERS); ! void php3_pgsql_get_link_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type); ! void php3_pgsql_get_result_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type); ! char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list); ! void php3_pgsql_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type); ! void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS); ! void php3_pgsql_data_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type); ! typedef struct pgLofp { PGconn *conn; Index: php3/functions/php3_var.h diff -c php3/functions/php3_var.h:1.2 php3/functions/php3_var.h:1.3 *** php3/functions/php3_var.h:1.2 Sun Oct 4 10:19:17 1998 --- php3/functions/php3_var.h Sun Oct 4 12:44:33 1998 *************** *** 35,38 **** --- 35,42 ---- PHP_FUNCTION(serialize); PHP_FUNCTION(unserialize); + void php3api_var_dump(pval *struc, int level); + void php3api_var_serialize(pval *buf, pval *struc); + int php3api_var_unserialize(pval *rval, char **p, char *max); + #endif /* _PHPVAR_H */ Index: php3/functions/var.c diff -c php3/functions/var.c:1.4 php3/functions/var.c:1.5 *** php3/functions/var.c:1.4 Sun Oct 4 10:19:17 1998 --- php3/functions/var.c Sun Oct 4 12:44:34 1998 *************** *** 43,48 **** --- 43,49 ---- #include <locale.h> #endif + #include "php3_var.h" void php3api_var_dump(pval *struc, int level) { -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1654) next »