| Function long tuxreadenv (string
filename,string labelname) LIBRARY "wtuxws32.dll"
/* 读取tuxedo环境变量的函数,filename
为环境变量的文件名字,labelname为section名字*/
Function Integer tpinit (Long TPINFO ) LIBRARY
"wtuxws32.dll"
/* tpinit 函数,允许client加入tuxedo应用中*/
Function Integer tpterm () LIBRARY "wtuxws32.dll"
/* tptem 函数,client从tuxedo应用中remove掉*/
Function Integer tpcall (String SVCNAME , Long IDATA
, Long ILEN, ref Long ODATA ,ref Long OLEN , Long flags
) LIBRARY "wtuxws32.dll"
/* tuxed同步调用函数,tpcall发送同步应答消息,等待服务端的应答*/
Function Long tpalloc (String BUFTYPE , String
SUBTYPE , Long BUFSIZE ) LIBRARY "wtuxws32.dll"
/* 空间分配函数,申请tuxedo BUFTYPE类型的buffer*/
Function Long tprealloc (Long buffer , Long BUFSIZE )
LIBRARY "wtuxws32.dll"
/* 重新申请buffer大小的函数,大小为BUBSIZE*/
Subroutine tpfree (Long buffer ) LIBRARY
"wtuxws32.dll"
/* 释放buffer*/
Function integer gettperrno() library
"wtuxws32.dll"
/* 获得tuxedo错误编码,与tperrno相同*/
Function Integer Fchg32( Long RCVBUF,long FLDID,long
OCC, ref String value,ref long LEN ) LIBRARY
"wtuxws2.dll"
/*改变RCVBUF中field:FLDID的occurrence等于OCC的value*/
Function integer Fget32( Long RCVBUF,long FLDID,long
OCC,ref String value,ref long LEN)
library"wtuxws32.dll"
/*从RCVBUF中获得field:FLDID的occurrence等于OCC的value*/
Function String tpstrerror(integer tperrno) library
"wtuxws32.dll"
/* 获得tuxedo错误消息的错误信息字符串,与tpstrerror相同 */
LIBRARY "libfml32.dll" alias for "Fchg32"
Function Integer Fchgd32( Long RCVBUF,long FLDID,long
OCC, ref double value,ref long LEN ) LIBRARY
"wtuxws32.dll" alias for "Fchg32"
/* 应用于double数据类型Fchg32函数*/
Function Integer Fchgl32( Long RCVBUF,long FLDID,long
OCC, ref long value,ref long LEN ) LIBRARY "
wtuxws32.dll" alias for "Fchg32"
/* 应用于long数据类型Fchg32函数*/
Function integer Fgetd32( Long RCVBUF,long FLDID,long
OCC,ref double value,ref long LEN) library"
wtuxws32.dll" alias for "Fget32"
/* 应用于double数据类型Fget32函数*/
Function integer Fgetl32( Long RCVBUF,long FLDID,long
OCC,ref long value,ref long LEN) library" wtuxws32.dll"
alias for "Fget32"
/*
应用于long数据类型Fget32函数*/
|