test

Fork of mbed-libxively-6eca970 by Xively Official

Committer:
xively
Date:
Wed Jun 26 10:40:43 2013 +0000
Revision:
0:82702e998d3f
libxively v0.1.1-rc0 (34c8b32)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xively 0:82702e998d3f 1 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved.
xively 0:82702e998d3f 2 // This is part of Xively C library, it is under the BSD 3-Clause license.
xively 0:82702e998d3f 3
xively 0:82702e998d3f 4 /**
xively 0:82702e998d3f 5 * \file http_transport.c
xively 0:82702e998d3f 6 * \author Olgierd Humenczuk
xively 0:82702e998d3f 7 * \brief Implements HTTP _transport layer_ abstraction interface [see http_transport.h and transport_layer.h]
xively 0:82702e998d3f 8 */
xively 0:82702e998d3f 9
xively 0:82702e998d3f 10 #include "http_transport_layer.h"
xively 0:82702e998d3f 11 #include "http_transport.h"
xively 0:82702e998d3f 12
xively 0:82702e998d3f 13 transport_layer_t* get_http_transport_layer( void )
xively 0:82702e998d3f 14 {
xively 0:82702e998d3f 15 static transport_layer_t __http_transport_layer =
xively 0:82702e998d3f 16 {
xively 0:82702e998d3f 17 &http_encode_update_feed
xively 0:82702e998d3f 18 , &http_encode_get_feed
xively 0:82702e998d3f 19 , &http_encode_create_datastream
xively 0:82702e998d3f 20 , &http_encode_update_datastream
xively 0:82702e998d3f 21 , &http_encode_get_datastream
xively 0:82702e998d3f 22 , &http_encode_delete_datastream
xively 0:82702e998d3f 23 , &http_encode_delete_datapoint
xively 0:82702e998d3f 24 , &http_encode_datapoint_delete_range
xively 0:82702e998d3f 25 , &http_decode_reply
xively 0:82702e998d3f 26 };
xively 0:82702e998d3f 27
xively 0:82702e998d3f 28 return &__http_transport_layer;
xively 0:82702e998d3f 29 }