.ad 8
.bm 8
.fm 4
.bt $Copyright (c) 2000-2004 SAP AG$$Page %$
.tm 12
.hm 6
.hs 3
.tt 1 $SQL$Project Distributed Database System$VPI00FCC$
.tt 2 $$$
.tt 3 $$C call interface includes$$1999-09-23$
***********************************************************
.nf

.nf


    ========== licence begin  GPL
    Copyright (c) 2000-2004 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end

.fo


.fo
Module  :
=========
.sp
Purpose :
.CM *-END-* purpose -------------------------------------
Define  :
.CM *-END-* define --------------------------------------
Use     :
.CM *-END-* use -----------------------------------------
Synonym :
.CM *-END-* synonym -------------------------------------
.sp;.cp 3
Author  : 
.sp
.cp 3
Created : 1986-01-01
.sp
.cp 3
Version : 1992-02-21
.sp
.cp 3
Release :      Date : 1999-09-23
Specification:
.CM *-END-* specification -------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.fo
.oc _/1
Description:
.CM *-END-* description ---------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.nf
.oc _/1
Structure:
.CM *-END-* structure -----------------------------------
.sp 2
**********************************************************
.sp
.cp 10
.nf
.sp
.CM -lll-
Code    :
#ifdef __OS2__
#define _CPC_FMOD _System
#else
#define _CPC_FMOD
#endif

#if defined(__cplusplus)
 /* ----------------------------------------------- */
 /*       C++ sql call interface references         */
 /* ----------------------------------------------- */

extern "C" {
void
_CPC_FMOD sqclchb (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	void*, sqlint2&),
_CPC_FMOD sqcllcb (sqlcatype&, const sqlint2&, const sqlint4&, const char*,
	void*, sqlint2&),
_CPC_FMOD sqclcmd (sqlcatype&, const sqlint2&, const sqlint2&, sqlint2&),
_CPC_FMOD sqclcon (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	sqluser, const sqlpassword, sqldbname, sqldbnode),
_CPC_FMOD sqcldcb (sqlcatype&, const sqlint2&, const sqlint2&, const sqlint2&,
	const char*, void*, sqlint2&),
_CPC_FMOD sqcldb2 (sqlcatype&),
_CPC_FMOD sqcldrp (sqlcatype&, const sqlint2&, const sqlparsid),
_CPC_FMOD sqclexe (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	void*, const sqlparsid),
_CPC_FMOD sqclexf (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	void*, const sqlparsid, const sqlint2&, const sqlint2&),
_CPC_FMOD sqclfin (sqlcatype&),
_CPC_FMOD sqclgif (sqlcatype&, const sqlint2&, void*, const void*, sqlint2&),
_CPC_FMOD sqcli2b (sqlcatype&, const sqlint2&, const sqlint2&, void*,
	sqlint2&),
_CPC_FMOD sqcli4b (sqlcatype&, const sqlint2&, const sqlint4&, void*,
	sqlint2&),
_CPC_FMOD sqclmcr (sqlcatype&, const sqlint2&, const char*),
_CPC_FMOD sqclpif (sqlcatype&, const sqlint2&, const void*, void*, sqlint2&),
_CPC_FMOD sqclpre (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	const void*, const sqlparsid),
_CPC_FMOD sqclprp (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	void*, sqlparsid),
_CPC_FMOD sqclprs (sqlcatype&, const sqlint2&, const sqlint2&, const char*,
	void*, sqlparsid),
_CPC_FMOD sqclrel (sqlcatype&, const sqlint2&),
_CPC_FMOD sqclr4b (sqlcatype&, const sqlint2&, const sqlr4&, void*, sqlint2&),
_CPC_FMOD sqclr8b (sqlcatype&, const sqlint2&, const sqlr8&, void*, sqlint2&),
&if $OS = UNIX
_CPC_FMOD sqclsiz (sqlint4&, sqlint4&, sqlint4&),
&endif
_CPC_FMOD sqclstm (sqlcatype&, const sqlint2&, const sqlint2&, const char*),
_CPC_FMOD sqclu2b (sqlcatype&, const sqlint2&, const sqluns2&, void*,
	sqlint2&),
_CPC_FMOD sqclu4b (sqlcatype&, const sqlint2&, const sqluns4&, void*,
	sqlint2&),
_CPC_FMOD sqclzob (sqlcatype&, const sqlint2&, const sqlint2&, const sqlint2&,
	const char*, void*, sqlint2&),
_CPC_FMOD sqclisol (sqlcatype&, const sqlint2&);
}
extern "C" {
void
_CPC_FMOD *sqlcdynp (SQLAREAS cbAreaNum, void *pBaseClass, int cbNumElem);
void
_CPC_FMOD *sqlcaddr (SQLAREAS cbAreaNum, void *pBaseClass);
int
_CPC_FMOD sqlcsize (SQLAREAS cbAreaNum);
}
#else
#if defined(__STDC__)
 /* ----------------------------------------------- */
 /*      CPR_KIND_ANSI C sql call interface references       */
 /* ----------------------------------------------- */

void
_CPC_FMOD sqclchb (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	void*, sqlint2*),
_CPC_FMOD sqcllcb (sqlcatype*, const sqlint2*, const sqlint4*, const char*,
	void*, sqlint2*),
_CPC_FMOD sqclcmd (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	sqlint2*),
_CPC_FMOD sqclcon (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	sqluser, const sqlpassword, sqldbname, sqldbnode),
_CPC_FMOD sqcldcb (sqlcatype*, const sqlint2*, const sqlint2*, const sqlint2*,
	const char*, void*, sqlint2*),
_CPC_FMOD sqcldb2 (sqlcatype*),
_CPC_FMOD sqcldrp (sqlcatype*, const sqlint2*, const sqlparsid),
_CPC_FMOD sqclexe (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	void*, const sqlparsid),
_CPC_FMOD sqclexf (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	void*, const sqlparsid, const sqlint2*, const sqlint2*),
_CPC_FMOD sqclfin (sqlcatype*),
_CPC_FMOD sqclgif (sqlcatype*, const sqlint2*, void*, const void*, sqlint2*),
_CPC_FMOD sqcli2b (sqlcatype*, const sqlint2*, const sqlint2*, void*,
	sqlint2*),
_CPC_FMOD sqcli4b (sqlcatype*, const sqlint2*, const sqlint4*, void*,
	sqlint2*),
_CPC_FMOD sqclmcr (sqlcatype*, const sqlint2*, const char*),
_CPC_FMOD sqclpif (sqlcatype*, const sqlint2*, const void*, void*, sqlint2*),
_CPC_FMOD sqclpre (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	const void*, const sqlparsid),
_CPC_FMOD sqclprp (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	void*, sqlparsid),
_CPC_FMOD sqclprs (sqlcatype*, const sqlint2*, const sqlint2*, const char*,
	void*, sqlparsid),
_CPC_FMOD sqclrel (sqlcatype*, const sqlint2*),
_CPC_FMOD sqclr4b (sqlcatype*, const sqlint2*, const sqlr4*, void*, sqlint2*),
_CPC_FMOD sqclr8b (sqlcatype*, const sqlint2*, const sqlr8*, void*, sqlint2*),
&if $OS = UNIX
_CPC_FMOD sqclsiz (sqlint4*, sqlint4*, sqlint4*),
&endif
_CPC_FMOD sqclstm (sqlcatype*, const sqlint2*, const sqlint2*, const char*),
_CPC_FMOD sqclu2b (sqlcatype*, const sqlint2*, const sqluns2*, void*,
	sqlint2*),
_CPC_FMOD sqclu4b (sqlcatype*, const sqlint2*, const sqluns4*, void*,
	sqlint2*),
_CPC_FMOD sqclzob (sqlcatype*, const sqlint2*, const sqlint2*, const sqlint2*,
	const char*, void*, sqlint2*),
_CPC_FMOD sqclisol (sqlcatype*, const sqlint2*);
_CPC_FMOD void *sqlcdynp (SQLAREAS cbAreaNum, void *pBaseClass, int cbNumElem);
_CPC_FMOD void *sqlcaddr (SQLAREAS cbAreaNum, void *pBaseClass);
_CPC_FMOD int sqlcsize (SQLAREAS cbAreaNum);
_CPC_FMOD void sqldecl ();
void sqlCPCPrepare(sqlcatype*, sqlxatype*, long, long);
char *sqlCPCGetDriverName ();
void  sqlCPCDeclare (sqlcatype *, sqlxatype *, long, long);
void  sqlCPCEndInit (sqlcatype*, sqlxatype*, char *);
void sqlCPCPrBind(sqlprentry *, long, long, long, long, long, long, long, long, long, long, long, long, char *, char *);
void sqlCPCStBind (sqlcatype *, sqlxatype *, long, long, long, long, char *);
void sqlCPCOpen(sqlcatype*, sqlxatype*, long, long);
void sqlCPCExecDirect(sqlcatype*, sqlxatype*, long, long);
void sqlCPCDescribe(sqlcatype*, sqlxatype*, long, long);
void sqlCPCDeclare (sqlcatype *, sqlxatype *, long, long);
#else           /* non CPR_KIND_ANSI C call interface - external functions */
&if $OS = UNIX
extern void _CPC_FMOD sqclsiz ();
&endif
extern void
_CPC_FMOD sqclcon (), _CPC_FMOD sqclstm (),
_CPC_FMOD sqclprs (), _CPC_FMOD sqclexe (), _CPC_FMOD sqclexf (),
_CPC_FMOD sqcldrp (), _CPC_FMOD sqclrel (), _CPC_FMOD sqclfin (),
_CPC_FMOD sqclmcr (), _CPC_FMOD sqclcmd (), _CPC_FMOD sqclgif (),
_CPC_FMOD sqclpif (), _CPC_FMOD sqcli2b (), _CPC_FMOD sqcli4b (),
_CPC_FMOD sqclu2b (), _CPC_FMOD sqclu4b (), _CPC_FMOD sqclr4b (),
_CPC_FMOD sqclr8b (), _CPC_FMOD sqclchb (), _CPC_FMOD sqcllcb (), 
_CPC_FMOD sqclzob (), _CPC_FMOD sqcldcb (), _CPC_FMOD sqclprp (), 
_CPC_FMOD sqclpre (), _CPC_FMOD sqcldb2 ();
_CPC_FMOD void *sqlcaddr ();
_CPC_FMOD void *sqlcdynp ();
_CPC_FMOD int sqlcsize ();
_CPC_FMOD void sqlcisol ();
_CPC_FMOD void sqldecl ();
void sqlCPCPrepare();
char *sqlCPCGetDriverName ();
void  sqlCPCDeclare ();
void  sqlCPCEndInit ();
void sqlCPCPrBind();
void sqlCPCStBind ();
void sqlCPCOpen();
void sqlCPCExecDirect();
void sqlCPCDescribe();
#endif
#endif
.CM *-END-* code ----------------------------------------
.SP 2 
***********************************************************
