216 lines
5.6 KiB
C
216 lines
5.6 KiB
C
|
/******************************************************************************
|
||
|
*
|
||
|
* api_functs.h - include file for the Intercall function dispatch table
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intended
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description.........................................
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 09/25/98 23727 DTM Added new UniObjects for Java functions
|
||
|
* 02/24/97 20104 DW Added NLS functions.
|
||
|
* 06/13/96 18584 DJD Added SessionInfo.
|
||
|
* 02/01/96 18025 DJD InterCall 2.1 new functions.
|
||
|
* 08/18/95 17162 GMM Module Created
|
||
|
*
|
||
|
******************************************************************************/
|
||
|
|
||
|
/* Function prototypes for interCALL 2.0. */
|
||
|
#ifdef MSWIN
|
||
|
#define voidarg void
|
||
|
#else
|
||
|
#define voidarg
|
||
|
#endif
|
||
|
EXTERN void ICAlpha(voidarg);
|
||
|
EXTERN void ICCancel(voidarg);
|
||
|
EXTERN void ICClearData(voidarg);
|
||
|
EXTERN void ICClearFile(voidarg);
|
||
|
EXTERN void ICClearSelect(voidarg);
|
||
|
EXTERN void ICClose(voidarg);
|
||
|
EXTERN void ICCloseSeq(voidarg);
|
||
|
EXTERN void ICCol1(voidarg);
|
||
|
EXTERN void ICCol2(voidarg);
|
||
|
EXTERN void ICConvert(voidarg);
|
||
|
EXTERN void ICCount(voidarg);
|
||
|
EXTERN void ICIData(voidarg);
|
||
|
EXTERN void ICDate(voidarg);
|
||
|
EXTERN void ICDcount(voidarg);
|
||
|
EXTERN void ICDelete(voidarg);
|
||
|
EXTERN void ICDeleteSet(voidarg);
|
||
|
EXTERN void ICExecute(voidarg);
|
||
|
EXTERN void ICExtract(voidarg);
|
||
|
EXTERN void ICField(voidarg);
|
||
|
EXTERN void ICFieldStore(voidarg);
|
||
|
EXTERN void ICFileInfo(voidarg);
|
||
|
EXTERN void ICFileLock(voidarg);
|
||
|
EXTERN void ICFileUnlock(voidarg);
|
||
|
EXTERN void ICFmt(voidarg);
|
||
|
EXTERN void ICFormList(voidarg);
|
||
|
EXTERN void ICGetList(voidarg);
|
||
|
EXTERN void ICGetValue(voidarg);
|
||
|
EXTERN void ICIconv(voidarg);
|
||
|
EXTERN void ICIndices(voidarg);
|
||
|
EXTERN void ICInsert(voidarg);
|
||
|
EXTERN void ICItype(voidarg);
|
||
|
EXTERN void ICLocate(voidarg);
|
||
|
EXTERN void ICLock(voidarg);
|
||
|
EXTERN void ICLower(voidarg);
|
||
|
EXTERN void ICOconv(voidarg);
|
||
|
EXTERN void ICOpen(voidarg);
|
||
|
EXTERN void ICOpenSeq(voidarg);
|
||
|
EXTERN void ICRaise(voidarg);
|
||
|
EXTERN void ICRead(voidarg);
|
||
|
EXTERN void ICReadBlk(voidarg);
|
||
|
EXTERN void ICReadList(voidarg);
|
||
|
EXTERN void ICReadNext(voidarg);
|
||
|
EXTERN void ICReadSeq(voidarg);
|
||
|
EXTERN void ICReadv(voidarg);
|
||
|
EXTERN void ICReadSet(voidarg);
|
||
|
EXTERN void ICReadSetFields(voidarg);
|
||
|
EXTERN void ICReadNamedSetFields(voidarg);
|
||
|
EXTERN void ICRecordLock(voidarg);
|
||
|
EXTERN void ICRecordLocked(voidarg);
|
||
|
EXTERN void ICRelease(voidarg);
|
||
|
EXTERN void ICReplace(voidarg);
|
||
|
EXTERN void ICSeek(voidarg);
|
||
|
EXTERN void ICSelect(voidarg);
|
||
|
EXTERN void ICSelectIndex(voidarg);
|
||
|
EXTERN void ICSessionInfo(voidarg);
|
||
|
EXTERN void ICSetValue(voidarg);
|
||
|
EXTERN void ICStrdel(voidarg);
|
||
|
EXTERN void ICSubCall(voidarg);
|
||
|
EXTERN void ICTime(voidarg);
|
||
|
EXTERN void ICTimeDate(voidarg);
|
||
|
EXTERN void ICTimeOut(voidarg);
|
||
|
EXTERN void ICTrans(voidarg);
|
||
|
EXTERN void ICTransaction(voidarg);
|
||
|
EXTERN void ICTrim(voidarg);
|
||
|
EXTERN void ICUnlock(voidarg);
|
||
|
EXTERN void ICWeofSeq(voidarg);
|
||
|
EXTERN void ICWrite(voidarg);
|
||
|
EXTERN void ICWriteBlk(voidarg);
|
||
|
EXTERN void ICWriteContinue(voidarg);
|
||
|
EXTERN void ICWriteSeq(voidarg);
|
||
|
EXTERN void ICWriteSet(voidarg);
|
||
|
EXTERN void ICWriteSetFields(voidarg);
|
||
|
EXTERN void ICWriteStart(voidarg);
|
||
|
EXTERN void ICWritev(voidarg);
|
||
|
|
||
|
EXTERN void ICWriteNamedSetFields(voidarg);
|
||
|
EXTERN void ICLockSet(voidarg);
|
||
|
EXTERN void ICUnlockSet(voidarg);
|
||
|
|
||
|
/* no need to be alphabetical is there ? */
|
||
|
EXTERN void ICSetLocale(voidarg);
|
||
|
EXTERN void ICGetLocale(voidarg);
|
||
|
EXTERN void ICSetMap(voidarg);
|
||
|
EXTERN void ICGetMap(voidarg);
|
||
|
EXTERN void ICGetVersion(voidarg);
|
||
|
EXTERN void ICGetNLSInfo(voidarg);
|
||
|
#undef voidarg
|
||
|
|
||
|
/*
|
||
|
* now define the dispatch table, and number of entries
|
||
|
*
|
||
|
* !!! NOTE that this is positionally tied to the constant definitions in
|
||
|
* !!! UVCLIENT.H in the uvdk product.
|
||
|
*/
|
||
|
|
||
|
void (*APIFunctions[])() = {
|
||
|
(void (*)())0, /* Element 0 is not used */
|
||
|
ICAlpha,
|
||
|
ICClearData,
|
||
|
ICClearFile,
|
||
|
ICClearSelect,
|
||
|
ICClose,
|
||
|
ICCloseSeq,
|
||
|
ICCol1,
|
||
|
ICCol2,
|
||
|
ICConvert,
|
||
|
ICCount,
|
||
|
ICIData,
|
||
|
ICDate,
|
||
|
ICDcount,
|
||
|
ICDelete,
|
||
|
ICExecute,
|
||
|
ICExtract,
|
||
|
ICField,
|
||
|
ICFieldStore,
|
||
|
ICFileInfo,
|
||
|
ICFileLock,
|
||
|
ICFileUnlock,
|
||
|
ICFmt,
|
||
|
ICFormList,
|
||
|
ICGetList,
|
||
|
ICGetValue,
|
||
|
ICIconv,
|
||
|
ICIndices,
|
||
|
ICInsert,
|
||
|
ICItype,
|
||
|
ICLocate,
|
||
|
ICLock,
|
||
|
ICLower,
|
||
|
ICOconv,
|
||
|
ICOpen,
|
||
|
ICOpenSeq,
|
||
|
ICRaise,
|
||
|
ICRead,
|
||
|
ICReadBlk,
|
||
|
ICReadList,
|
||
|
ICReadNext,
|
||
|
ICReadSeq,
|
||
|
ICReadv,
|
||
|
ICRecordLock,
|
||
|
ICRecordLocked,
|
||
|
ICRelease,
|
||
|
ICReplace,
|
||
|
ICSeek,
|
||
|
ICSelect,
|
||
|
ICSelectIndex,
|
||
|
ICSetValue,
|
||
|
ICStrdel,
|
||
|
ICSubCall,
|
||
|
ICTime,
|
||
|
ICTimeDate,
|
||
|
ICTimeOut,
|
||
|
ICTrans,
|
||
|
ICTransaction,
|
||
|
ICTrim,
|
||
|
ICUnlock,
|
||
|
ICWeofSeq,
|
||
|
ICWrite,
|
||
|
ICWriteBlk,
|
||
|
ICWriteContinue,
|
||
|
ICWriteSeq,
|
||
|
ICWritev,
|
||
|
(void (*)())0, /* Element 66 is for execute continue */
|
||
|
(void (*)())0, /* Element 67 is for input reply */
|
||
|
(void (*)())0, /* Element 68 is for cancel */
|
||
|
ICSessionInfo, /* 69 */
|
||
|
ICSetMap, /* 70 */
|
||
|
ICGetMap, /* 71 */
|
||
|
ICSetLocale, /* 72 */
|
||
|
ICGetLocale, /* 73 */
|
||
|
ICGetVersion, /* 74 */
|
||
|
ICGetNLSInfo, /* 75 */
|
||
|
ICReadSet, /* 76 */
|
||
|
ICReadSetFields,/*77*/
|
||
|
ICReadNamedSetFields, /* 78 */
|
||
|
ICDeleteSet, /*79*/
|
||
|
ICWriteSet, /* 80 */
|
||
|
ICWriteSetFields,/*81*/
|
||
|
ICWriteNamedSetFields, /*82*/
|
||
|
ICLockSet, /* 83 */
|
||
|
ICUnlockSet, /* 84 */
|
||
|
};
|
||
|
|
||
|
#define MAXAPICOMMANDS 84
|