Xively C library

Dependents:   Application-xively-jumpstart-demo Application-xively-jumpstart-demo Modified_Xively_Jumpstart HW7-1_Xively_Thermostat

Embed: (wiki syntax)

« Back to documentation index

http_transport.h File Reference

http_transport.h File Reference

Implements HTTP _transport layer_ abstraction interface. More...

Go to the source code of this file.

Functions

transport_layer_tget_http_transport_layer (void)
 Initialise HTTP implementation of the _transport layer_.

Detailed Description

Implements HTTP _transport layer_ abstraction interface.

Author:
Olgierd Humenczuk

Definition in file http_transport.h.


Function Documentation

transport_layer_t* get_http_transport_layer ( void   )

Initialise HTTP implementation of the _transport layer_.

This intialiser assigns function pointers to the actual implementations using static function variable trick, hence the intialisation should not give any overhead.

Returns:
Structure with function pointers for HTTP encoders and decoders which had been implemented in `http_transport_layer.c`.

Definition at line 13 of file http_transport.c.