Xively C library
Dependents: Application-xively-jumpstart-demo Application-xively-jumpstart-demo Modified_Xively_Jumpstart HW7-1_Xively_Thermostat
http_transport.h
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved. 00002 // This is part of Xively C library, it is under the BSD 3-Clause license. 00003 00004 /** 00005 * \file http_transport.h 00006 * \author Olgierd Humenczuk 00007 * \brief Implements HTTP _transport layer_ abstraction interface 00008 */ 00009 00010 #ifndef __HTTP_TRANSPORT_H__ 00011 #define __HTTP_TRANSPORT_H__ 00012 00013 #include "transport_layer.h" 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 /** 00020 * \brief Initialise HTTP implementation of the _transport layer_ 00021 * 00022 * This intialiser assigns function pointers to the actual implementations 00023 * using static function variable trick, hence the intialisation should 00024 * not give any overhead. 00025 * 00026 * \return Structure with function pointers for HTTP encoders and decoders 00027 * which had been implemented in `http_transport_layer.c`. 00028 */ 00029 transport_layer_t* get_http_transport_layer( void ); 00030 00031 #ifdef __cplusplus 00032 } 00033 #endif 00034 00035 #endif // __HTTP_TRANSPORT_H__
Generated on Tue Jul 12 2022 12:15:12 by 1.7.2