⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sdbdefs.h

📁 TSapi 软件电话源代码
💻 H
📖 第 1 页 / 共 2 页
字号:
} SDBFailureCodes_t;

typedef unsigned char   SDBOptions_t;
#define                     SDB_NON_FATAL 0x40
#define                     SDB_OVERWRITE 0x20
#define                     SDB_CONVERT_SIMPLE 0x10
#define                     SDB_CONVERT_FLAT 0x08

typedef unsigned char   SDBConvertOptions_t;
#define                     BTRV_TO_NDS 0x40
#define                     BTRV_TO_UNIX 0x20

typedef struct SDBOpenConnection_t {
    SDBContext_t    context;
    SDBLoginName_t  login;
} SDBOpenConnection_t;

typedef struct SDBOpenConnConfEvent_t {
    SDBConnectionID_t connID;
    SDBContext_t    context;
} SDBOpenConnConfEvent_t;

typedef struct SDBCloseConnection_t {
    SDBConnectionID_t connID;
} SDBCloseConnection_t;

typedef struct SDBCloseConnConfEvent_t {
    Nulltype        null;
} SDBCloseConnConfEvent_t;

typedef struct SDBInsertObject_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *attrList;
} SDBInsertObject_t;

typedef struct SDBInsertObjectConfEvent_t {
    Nulltype        null;
} SDBInsertObjectConfEvent_t;

typedef struct SDBInsertAttribute_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *keyList;
    struct SDBAttributeList_t FAR *attrList;
} SDBInsertAttribute_t;

typedef struct SDBInsertAttributeConfEvent_t {
    Nulltype        null;
} SDBInsertAttributeConfEvent_t;

typedef struct SDBDeleteObject_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *keyList;
} SDBDeleteObject_t;

typedef struct SDBDeleteObjectConfEvent_t {
    Nulltype        null;
} SDBDeleteObjectConfEvent_t;

typedef struct SDBDeleteAttribute_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *keyList;
    struct SDBAttributeList_t FAR *attrList;
} SDBDeleteAttribute_t;

typedef struct SDBDeleteAttributeConfEvent_t {
    Nulltype        null;
} SDBDeleteAttributeConfEvent_t;

typedef struct SDBSelectObject_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *keyList;
    SDBSelectOpcodes_t opcode;
    struct SDBSelectAttrList_t FAR *attrList;
    SDBBufferSize_t bufSize;
    SDBReturnedCount_t retrnCnt;
} SDBSelectObject_t;

typedef struct SDBSelectObjectConfEvent_t {
    struct SDBAttributeList_t FAR *attrList;
    SDBReturnedCount_t retrnCnt;
    SDBRetrievalStatus_t status;
} SDBSelectObjectConfEvent_t;

typedef struct SDBOpenCursor_t {
    SDBConnectionID_t connID;
} SDBOpenCursor_t;

typedef struct SDBOpenCursorConfEvent_t {
    Nulltype        null;
} SDBOpenCursorConfEvent_t;

typedef struct SDBFetchCursor_t {
    SDBConnectionID_t connID;
    SDBBufferSize_t bufSize;
    SDBReturnedCount_t retrnCnt;
} SDBFetchCursor_t;

typedef struct SDBFetchCursorConfEvent_t {
    struct SDBAttributeList_t FAR *attrList;
    SDBReturnedCount_t retrnCnt;
    SDBRetrievalStatus_t status;
} SDBFetchCursorConfEvent_t;

typedef struct SDBCloseCursor_t {
    SDBConnectionID_t connID;
} SDBCloseCursor_t;

typedef struct SDBCloseCursorConfEvent_t {
    Nulltype        null;
} SDBCloseCursorConfEvent_t;

typedef struct SDBModifyObject_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    struct SDBAttributeList_t FAR *keyList;
    struct SDBAttributeList_t FAR *attrList;
} SDBModifyObject_t;

typedef struct SDBModifyObjectConfEvent_t {
    Nulltype        null;
} SDBModifyObjectConfEvent_t;

typedef struct SDBStartTrans_t {
    SDBConnectionID_t connID;
} SDBStartTrans_t;

typedef struct SDBStartTransConfEvent_t {
    Nulltype        null;
} SDBStartTransConfEvent_t;

typedef struct SDBCommitTrans_t {
    SDBConnectionID_t connID;
} SDBCommitTrans_t;

typedef struct SDBCommitTransConfEvent_t {
    Nulltype        null;
} SDBCommitTransConfEvent_t;

typedef struct SDBRollbackTrans_t {
    SDBConnectionID_t connID;
} SDBRollbackTrans_t;

typedef struct SDBRollbackTransConfEvent_t {
    Nulltype        null;
} SDBRollbackTransConfEvent_t;

typedef struct SDBBackupDataBase_t {
    SDBFileName_t   fileNm;
    SDBComments_t   comments;
} SDBBackupDataBase_t;

typedef struct SDBBackupDataBaseConfEvent_t {
    Nulltype        null;
} SDBBackupDataBaseConfEvent_t;

typedef struct SDBUpdateDataBase_t {
    SDBFlatFileName_t flatFile;
    SDBSimpleFileName_t simpleFile;
    SDBErrorFileName_t errorFile;
    SDBOptions_t    options;
} SDBUpdateDataBase_t;

typedef struct SDBUpdateDataBaseConfEvent_t {
    Nulltype        null;
} SDBUpdateDataBaseConfEvent_t;

typedef struct SDBCreateTemplate_t {
    SDBFlatFileName_t flatFile;
    SDBSimpleFileName_t simpleFile;
} SDBCreateTemplate_t;

typedef struct SDBCreateTemplateConfEvent_t {
    Nulltype        null;
} SDBCreateTemplateConfEvent_t;

typedef struct SDBQueryVersions_t {
    Nulltype        null;
} SDBQueryVersions_t;

typedef struct SDBQueryVersionsConfEvent_t {
    SDBVersion_t    dataDictionaryVersion;
    SDBVersion_t    oldDictionaryVersion;
    SDBVersion_t    overallVersion;
    SDBVersion_t    userVersion;
    SDBVersion_t    worktopVersion;
    SDBVersion_t    deviceVersion;
    SDBVersion_t    dlistVersion;
    SDBVersion_t    tlinkVersion;
    SDBVersion_t    tlistVersion;
    SDBVersion_t    oamlistVersion;
    SDBVersion_t    tservVersion;
    SDBDriverType_t driverType;
    SDBVersion_t    driverVersion;
    SDBVersion_t    tsrvnlmVersion;
    SDBDriverState_t driverState;
    SDBBtrvVersion_t btrvVersion;
} SDBQueryVersionsConfEvent_t;

typedef struct SDBQueryFiles_t {
    SDBBufferSize_t bufSize;
} SDBQueryFiles_t;

typedef struct SDBQueryFilesConfEvent_t {
    struct SDBFileList_t FAR *fileList;
} SDBQueryFilesConfEvent_t;

typedef struct SDBQueryAttributes_t {
    SDBFileType_t   fileType;
    SDBBufferSize_t bufSize;
    SDBReturnedCount_t retrnCnt;
} SDBQueryAttributes_t;

typedef struct SDBQueryAttributesConfEvent_t {
    struct SDBQryAttrList_t FAR *attrList;
    SDBReturnedCount_t retrnCnt;
    SDBRetrievalStatus_t status;
} SDBQueryAttributesConfEvent_t;

typedef struct SDBFileReadList_t {
    _Int             count;
    SDBFileReadCount_t FAR *sdbFileRd;
} SDBFileReadList_t;

typedef struct SDBQueryStatus_t {
    Nulltype        null;
} SDBQueryStatus_t;

typedef struct SDBQueryStatusConfEvent_t {
    SDBConnectCount_t sdbConns;
    SDBMemoryUsed_t memUsed;
    SDBFileReadList_t fileRd;
} SDBQueryStatusConfEvent_t;

typedef struct SDBUniversalFailureConfEvent_t {
    SDBFailureCodes_t error;
    SDBAttributeID_t attrID;
} SDBUniversalFailureConfEvent_t;

typedef struct SDBUniversalFailureEvent_t {
    SDBFailureCodes_t error;
} SDBUniversalFailureEvent_t;

typedef struct SDBSelectKey_t {
    SDBConnectionID_t connID;
    SDBFileType_t   fileType;
    SDBAttributeID_t key;
    SDBAttrHdr_t    filter;
    SDBBufferSize_t bufSize;
} SDBSelectKey_t;

typedef struct SDBSelectKeyConfEvent_t {
    SDBRetrievalStatus_t status;
    struct {
        short           length;
        unsigned char   FAR *value;
    } keyList;
} SDBSelectKeyConfEvent_t;

typedef struct SDBConvertDataBase_t {
    SDBFlatFileName_t flatFile;
    SDBFlatFileName_t finalFile;
    SDBErrorFileName_t errorFile;
    SDBConvertOptions_t options;
    SDBContext_t    context;
} SDBConvertDataBase_t;

typedef struct SDBConvertDataBaseConfEvent_t {
    Nulltype        null;
} SDBConvertDataBaseConfEvent_t;

typedef struct SDBBackupNdsDataBase_t {
    SDBFileName_t   fileNm;
    SDBComments_t   comments;
    SDBContext_t    context;
} SDBBackupNdsDataBase_t;

typedef struct SDBBackupNdsDataBaseConfEvent_t {
    Nulltype        null;
} SDBBackupNdsDataBaseConfEvent_t;

typedef struct SDBUpdateNdsDataBase_t {
    SDBFlatFileName_t flatFile;
    SDBSimpleFileName_t simpleFile;
    SDBErrorFileName_t errorFile;
    SDBOptions_t    options;
    SDBContext_t    context;
} SDBUpdateNdsDataBase_t;

typedef struct SDBUpdateNdsDataBaseConfEvent_t {
    Nulltype        null;
} SDBUpdateNdsDataBaseConfEvent_t;

typedef struct SDBSetSdbLogOptions_t {
    Boolean         logSdbChanges;
    SDBLogPath_t    logPath;
    long            sdbLogSize;
} SDBSetSdbLogOptions_t;

typedef struct SDBSetSdbLogOptionsConfEvent_t {
    Nulltype        null;
} SDBSetSdbLogOptionsConfEvent_t;

typedef struct SDBGetSdbLogOptions_t {
    Nulltype        null;
} SDBGetSdbLogOptions_t;

typedef struct SDBGetSdbLogOptionsConfEvent_t {
    Boolean         logSdbChanges;
    SDBLogPath_t    logPath;
    long            sdbLogSize;
} SDBGetSdbLogOptionsConfEvent_t;

typedef struct SDBGetConnections_t {
    Nulltype        null;
} SDBGetConnections_t;

typedef struct SDBGetConnectionsConfEvent_t {
    long            sdbConns;
} SDBGetConnectionsConfEvent_t;

typedef char            SDBAboutString[41];

typedef struct SDBGetAboutInfo_t {
    Nulltype        null;
} SDBGetAboutInfo_t;

typedef struct SDBGetAbout_t {
    SDBVersion_t    aboutVer;
    SDBAboutString  aboutString;
} SDBGetAbout_t;

typedef struct SDBGetAboutList_t {
    _Int             count;
    SDBGetAbout_t   FAR *aboutList;
} SDBGetAboutList_t;

typedef struct SDBGetAboutConfEvent_t {
    long            numLeft;
    SDBGetAboutList_t aboutInfo;
} SDBGetAboutConfEvent_t;

typedef struct SDBGetAdminInfo_t {
    Nulltype        null;
} SDBGetAdminInfo_t;

typedef struct SDBGetAdminInfoConfEvent_t {
    Boolean         workStation;
    Boolean         autoAdmin;
} SDBGetAdminInfoConfEvent_t;

typedef struct SDBSetAdminInfo_t {
    Boolean         workStation;
    Boolean         autoAdmin;
} SDBSetAdminInfo_t;

typedef struct SDBSetAdminInfoConfEvent_t {
    Nulltype        null;
} SDBSetAdminInfoConfEvent_t;

typedef struct SDBGetTcpInfo_t {
    Nulltype        null;
} SDBGetTcpInfo_t;

typedef struct SDBGetTcpInfoConfEvent_t {
    SDBIPNameFormat_t tcpNameFormat;
} SDBGetTcpInfoConfEvent_t;

typedef struct SDBSetTcpInfo_t {
    SDBIPNameFormat_t tcpNameFormat;
} SDBSetTcpInfo_t;

typedef struct SDBSetTcpInfoConfEvent_t {
    Nulltype        null;
} SDBSetTcpInfoConfEvent_t;


extern void FAR *sdb_asn_tbl;    /* encoder-decoder control table */

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -