dl-fldigi/src/include/network.h

14 wiersze
549 B
C
Czysty Zwykły widok Historia

2008-10-07 07:28:55 +00:00
#ifndef NETWORK_H_
#define NETWORK_H_
#include <string>
bool request_reply(const std::string& node, const std::string& service,
const std::string& request, std::string& reply, double timeout = 0.0);
bool fetch_http(const std::string& url, std::string& reply, double timeout = 0.0);
KML/Synop/RTTY/Navtex * Synop decoding in RTTY mode in reception buffer, in red. * Creation of KML file for Synop data. * Creation of KML file for Navtex messages. * User locator displayed in KML. * Multiline Synop and Navtex messages displayed in Adif logs. * Added flsynop program as stand alone Synop decoder. * Fixed Navtex default stations filename and Italian stations. * Fixed Navtex frequency error. * Added KML tab in configuration menu. * Added parameters files for Synop decoding. * Fixed CoordinateT type for different deserialization. * Less logging messages from subthreads, because they might crash. * Added try/catch blocks in main program. * Can reload previous KML files at startup. * Named WMO code tables in Synop decoding. * Synop data can be logged to Adif files. * flsynop can load kml files from one dir and save them elsewhere. * Added strreplace and strcapitalize. * Added Levenshtein distance for future use. * Added class QsoHelper to ease Adif logging. * East longitude positive, West negative. Fixes Navtex detection. * Chars '=' or ';' used as a Synop end-of-section marker. * Added option command in KML tab executed on KML file save. * Reverse mode now saved in configuration. * Comments in DOxygen syntax. * Kml snippet stored once only per placemark. * Code more compatible with Eclipse parsing. * Synop decoded text can be interleaved with 5-digits groups. * KML balloons can be in simple tables, matrices or plain text. * Adif messages are saved in the main thread. * Starts external command only if KML file was saved. * Maximum KML data retention time is ten years, default 0 is no limit. * Do not reload KML files when changing KML parameters. * User kml file does not grow at each fldigi start. * Relative humidity always parsed with Celsius temperature. * Empty KML files are created on startup if not there. * Prepared porting processes functions to Mingw. * Added script for FTP transfer of KML files. * Added synop_tool * Navtex now has reverse mode. * Data files can be updated from the Internet. * HTTP load without anymore because crash in Wine
2013-06-01 07:40:24 +00:00
bool fetch_http_gui(const std::string& url, std::string& reply, double timeout = 0.0);
bool fetch_http_gui(const std::string& url, std::string& reply, double timeout,
void(*busy)(void*), void* arg1, void(*done)(void*), void* arg2);
2008-10-07 07:28:55 +00:00
#endif // NETWORK_H_