Separate library that holds helper functions for the main OMF code.
Diff: osisoft-omf.h
- Revision:
- 1:1c31b413ba0c
- Parent:
- 0:6156b29d3c91
- Child:
- 8:e5fe40b77f8f
--- a/osisoft-omf.h Mon Jan 22 17:11:34 2018 +0000 +++ b/osisoft-omf.h Fri Feb 02 17:54:05 2018 +0000 @@ -28,10 +28,21 @@ // Helper function that sends an actual web request // ************************************************************************ -//void sendMessageToEndpoint(NetworkInterface* network, const char* action, const char* message_type, const char* body) { // Old: doesn't re-use sockets void OMFLib_sendMessageToEndpoint(TLSSocket* socket, const char* action, const char* message_type, const char* body); // ************************************************************************ +// Helper function that sends an actual web request; does not reuse sockets +// ************************************************************************ + +void OMFLib_sendMessageToEndpoint_NoSocketReuse(NetworkInterface* network, const char* action, const char* message_type, const char* body); + +// ************************************************************************ +// Helper function: prints out an HTTP response +// ************************************************************************ + +void OMFLib_dump_response(HttpResponse* res); + +// ************************************************************************ // Gets the current time in the appropriate OMF format // ************************************************************************