CVS update: php3/functions

From: Date: Tue, 03 Nov 1998 01:03:33 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2136@lists.php.net to get a copy of this message
Date: Monday November 2, 1998 @ 20:03 Author: tommay Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv18367/functions Modified Files: php3_sybase-ct.h sybase-ct.c Log Message: Removed inclusion of db-library includes and other db-library specific stuff. Index: php3/functions/php3_sybase-ct.h diff -c php3/functions/php3_sybase-ct.h:1.14 php3/functions/php3_sybase-ct.h:1.15 *** php3/functions/php3_sybase-ct.h:1.14 Sat May 16 07:53:44 1998 --- php3/functions/php3_sybase-ct.h Mon Nov 2 20:03:25 1998 *************** *** 28,34 **** */ ! /* $Id: php3_sybase-ct.h,v 1.14 1998/05/16 11:53:44 zeev Exp $ */ #ifndef _PHP3_SYBASE_CT_H #define _PHP3_SYBASE_CT_H --- 28,34 ---- */ ! /* $Id: php3_sybase-ct.h,v 1.15 1998/11/03 01:03:25 tommay Exp $ */ #ifndef _PHP3_SYBASE_CT_H #define _PHP3_SYBASE_CT_H *************** *** 70,87 **** extern void php3_sybct_fetch_field(INTERNAL_FUNCTION_PARAMETERS); ! ! #include <sybfront.h> ! #include <sybdb.h> ! #include <syberror.h> ! ! #define coltype(j) dbcoltype(sybct_ptr->link,j) ! #define intcol(i) ((int) *(DBINT *) dbdata(sybct_ptr->link,i)) ! #define smallintcol(i) ((int) *(DBSMALLINT *) dbdata(sybct_ptr->link,i)) ! #define tinyintcol(i) ((int) *(DBTINYINT *) dbdata(sybct_ptr->link,i)) ! #define anyintcol(j) (coltype(j)==SYBINT4?intcol(j):(coltype(j)==SYBINT2?smallintcol(j):tinyintcol(j))) ! #define charcol(i) ((DBCHAR *) dbdata(sybct_ptr->link,i)) ! #define floatcol(i) ((float) *(DBFLT8 *) dbdata(sybct_ptr->link,i)) typedef struct { long default_link; --- 70,76 ---- extern void php3_sybct_fetch_field(INTERNAL_FUNCTION_PARAMETERS); ! #include <ctpublic.h> typedef struct { long default_link; Index: php3/functions/sybase-ct.c diff -c php3/functions/sybase-ct.c:1.44 php3/functions/sybase-ct.c:1.45 *** php3/functions/sybase-ct.c:1.44 Thu Sep 10 19:57:22 1998 --- php3/functions/sybase-ct.c Mon Nov 2 20:03:28 1998 *************** *** 27,33 **** +----------------------------------------------------------------------+ */ ! /* $Id: sybase-ct.c,v 1.44 1998/09/10 23:57:22 zeev Exp $ */ #ifndef MSVC5 --- 27,33 ---- +----------------------------------------------------------------------+ */ ! /* $Id: sybase-ct.c,v 1.45 1998/11/03 01:03:28 tommay Exp $ */ #ifndef MSVC5 *************** *** 40,46 **** #if HAVE_SYBASE_CT - #include <ctpublic.h> #include "php3_list.h" --- 40,45 ---- -- 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 (#2136) next »