• 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
  • Control panel

    index About control panel
    TV's server version 3 was designed to be plug-in based system, this included the control panel. There are several functions to request copies of internal structures and it is possible to register functions to be notificated when a protocol is loaded or when a ListenSession is created. These function can only be executed by a control panel protocol. To register a protocol as a control panel it is necessary to set flag PT_CONTROLPANEL when calling function SetProtocolInformation on protocol initialization.

    Internal structures
    There are two different internal structures from which a copy can be requested from. These copies are not complete copies of the internal structures, some fields are left blank and are documented as reserved. These fields are not meant to be used by other routines than the internal routines, because this would make TV's server unstable.

    The InternalProtocolStructure contains information about:
    The InternalListenStructure contains information about: The InternalProtocolStructure can be requested by the GetCopyOfInternalProtocolStructures function. This function will return all the InternalProtocolStructure structures through a linked-list.

    The InternalListenStructure can be requested by the GetCopyOfInternalListenStructure and the GetCopyOfInternalListenStructureByLsess function.
    Register notification functions
    To inform the control panel about new loaded protocols and new created listen sessions it can register notification functions. This can be done with the functions RegisterProtocolLoadedCallbackFunction and RegisterListenSessionIsCreatedCallbackFunction.

    Data types
    To be able to display the control options of a protocol to the user it is necessary to know how to read this data, for this reason there are 12 different types of data. These types are described in the UserValueOption structure. Currently all those types are supported by the control panel supplied with TV's server.