• About TV's server
  • 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
  • APIExportTable structure

    Contains pointers to the API of the plugin.
    WARNING: this structure is not algined in 64-bit.algined in 64-bit.

    Syntax

    typedef struct APIExportTable{
    int size;
    GetProtocolNames *GetProtocolNames;
    StartProtocol *StartProtocol;
    BindToProtocolCallBack *BindToProtocolCallBack;
    StartListening *StartListening;
    HandleConnection *HandleConnection;
    RecvData *RecvData;
    SendData *SendData;
    CloseClientSession *CloseClientSession;
    GetClientSessionInfo *GetClientSessionInfo;
    PrepareCloseListenSession *PrepareCloseListenSession;
    CloseListenSession *CloseListenSession;
    } APIExportTable;

    Members

    sizeGetProtocolNamesStartProtocolBindToProtocolCallBackStartListeningHandleConnectionRecvDataSendDataCloseClientSessionGetClientSessionInfoPrepareCloseListenSessionCloseListenSession

    Requirements

    Minimum supported API 1.00
    Header tvs_server_http_protocol
    .h