Xively Official / mbed-libxively-5d6fdd4

Dependents:   xively-jumpstart-demo

Embed: (wiki syntax)

« Back to documentation index

csv_data_layer.c File Reference

csv_data_layer.c File Reference

Implements CSV _data layer_ abstration interface [see csv_data_layer.h and data_layer.h]. More...

Go to the source code of this file.

Functions

const data_layer_tget_csv_data_layer ()
 Initialise CSV implementation of the _data layer_.

Detailed Description

Implements CSV _data layer_ abstration interface [see csv_data_layer.h and data_layer.h].

Author:
Olgierd Humenczuk

Definition in file csv_data_layer.c.


Function Documentation

const data_layer_t* get_csv_data_layer ( void   )

Initialise CSV implementation of the _data 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 CSV encoders and decoders which had been implemented in `csv_data.c`.

Definition at line 12 of file csv_data_layer.c.