• About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • APIImportTable structure

    Contains pointers to the API of TV's server.
    WARNING: this structure is not algined in 64-bit.

    Syntax

    typedef struct APIImportTable{
    int size;
    __asm_set_export_table *__asm_set_export_table;
    GetAPIVersion *GetAPIVersion;
    SetProtocolInformation *SetProtocolInformation;
    SetControlPanelOptions *SetControlPanelOptions;
    AcceptProtocol *AcceptProtocol;
    SavePluginData *SavePluginData;
    GetPluginData *GetPluginData;
    FindProtocolDataStruct *FindProtocolDataStruct;
    RequestToBindToNextProtocol *RequestToBindToNextProtocol;
    CallNextHandleConnection *CallNextHandleConnection;
    RecvData *RecvData;
    SendData *SendData;
    CloseClientSession *CloseClientSession;
    GetClientSessionInfo *GetClientSessionInfo;
    CloseListenSession *CloseListenSession;
    FormatDate *FormatDate;
    FormatTime *FormatTime;
    FormatDateTime *FormatDateTime;
    CountListRows *CountListRows;
    AddListRow *AddListRow;
    GetListItem *GetListItem;
    GetListItemSize *GetListItemSize;
    SetListItem *SetListItem;
    RemoveListRow *RemoveListRow;
    FindListItem *FindListItem;
    CloseProtocolSession *CloseProtocolSession;
    RecoverDateTime *RecoverDateTime;
    GetCopyOfInternalProtocolStructures *GetCopyOfInternalProtocolStructures;
    ReleaseCopyOfInternalProtocolStructures *ReleaseCopyOfInternalProtocolStructures;
    GetCopyOfInternalListenStructure *GetCopyOfInternalListenStructure;
    ReleaseCopyOfInternalListenStructure *ReleaseCopyOfInternalListenStructure;
    RegisterProtocolLoadedCallbackFunction *RegisterProtocolLoadedCallbackFunction;
    CountListenSessions *CountListenSessions;
    RegisterListenSessionIsCreatedCallbackFunction *RegisterListenSessionIsCreatedCallbackFunction;
    GetCopyOfInternalListenStructureByLsess *GetCopyOfInternalListenStructureByLsess;
    RecoverTime *RecoverTime;
    RecoverDate *RecoverDate;
    BindToProtocol *BindToProtocol;
    GetListenSessionFromClientSession *GetListenSessionFromClientSession;
    CloseListenSessionEx *CloseListenSessionEx;
    ShutdownServer *ShutdownServer;
    Log *Log;
    } APIImportTable;

    Members

    size__asm_set_export_tableGetAPIVersionSetProtocolInformationSetControlPanelOptionsAcceptProtocolSavePluginDataGetPluginDataFindProtocolDataStructRequestToBindToNextProtocolCallNextHandleConnectionRecvDataSendDataCloseClientSessionGetClientSessionInfoCloseListenSessionFormatDateFormatTimeFormatDateTimeCountListRowsAddListRowGetListItemGetListItemSizeSetListItemRemoveListRowFindListItemCloseProtocolSessionRecoverDateTimeGetCopyOfInternalProtocolStructuresReleaseCopyOfInternalProtocolStructuresGetCopyOfInternalListenStructureReleaseCopyOfInternalListenStructureRegisterProtocolLoadedCallbackFunctionCountListenSessionsRegisterListenSessionIsCreatedCallbackFunctionGetCopyOfInternalListenStructureByLsessRecoverTimeRecoverDateBindToProtocolGetListenSessionFromClientSessionCloseListenSessionExShutdownServerLog

    Requirements

    Minimum supported API 1.00
    Header tvs_server_http_protocol.h