libhomeradareasy collect aircraft information |
4,653,601 registered contacts 57726 unique aircraft records, 9.31% unresolved records |
| ACARS DECODER Planespotting Network Kinetic Avionics AirNav Systems Airframes.org | ||||||
| Home Docu Examples Functions Downloads Database Search Online API Success Stories News Imprint / Contact | ||||||
![]() libhomeradar is an easy to use library for all type of programming language which can use libraries. libhomeradar can connect to different sources to collect aircraft informations arround the world with extended informations, powerful filtering and structured data access. libhomeradar is written in C and is available for Linux and Windows (2003, XP, NT, Vista). Currently libhomeradar works with the Kinetic Avionics SBS-1 base station and the Airnav Systems Radarbox. |
Logfile creation and handling
libhomeradar can create a logfile which contains infos from nearly all important events. By default the logfile is disabled. You can enable the logfile with the LHR_LOG_ENABLE flag (see flags) and the homeradar_logcontrol() function. /* Control logfile handling of libhomeradar Should be called with the following parameters handle - libhomeradar handle flag - logfile flag (see libhomeradar.h) param - needed parameters or null Returns TRUE (1) on success or FALSE (0) on error */ extern int homeradar_logcontrol(LHR handle, const int flag, const void *param); The third parameter should be NULL except for the following flags: LHR_LOG_LEVEL Set logfile level (see flags) param must be a pointer to an integer LHR_LOG_LOCATION Set logfile path and filename param must be a pointer to a string LHR_LOG_OUTPUT Output logfile to given handle param must be of type FILE*
All logfile entries are queued by the library self. You can use the LHR_LOG_FLUSH flag to flush all items into the logfile (if defined).
|
|||||