Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: xively-jumpstart-demo
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 Wed Jul 13 2022 17:00:32 by
1.7.2