Xively Official / mbed-libxively-5d6fdd4

Dependents:   xively-jumpstart-demo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers csv_data_layer.h Source File

csv_data_layer.h

Go to the documentation of this file.
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    csv_data_layer.h
00006  * \author  Olgierd Humenczuk
00007  * \brief   Implements CSV _data layer_ abstration interface
00008  */
00009 
00010 #ifndef __CSV_DATA_LAYER_H__
00011 #define __CSV_DATA_LAYER_H__
00012 
00013 #include "xively.h"
00014 #include "data_layer.h"
00015 #include "csv_data.h"
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021  /**
00022  * \brief   Initialise CSV implementation of the _data layer_
00023  *
00024  *    This intialiser assigns function pointers to the actual implementations
00025  *    using  static function variable trick, hence the intialisation should
00026  *    not give any overhead.
00027  *
00028  * \return  Structure with function pointers for CSV encoders and decoders
00029  *          which had been implemented in `csv_data.c`.
00030  */
00031 const data_layer_t* get_csv_data_layer( void );
00032 
00033 #ifdef __cplusplus
00034 }
00035 #endif
00036 
00037 #endif // __CSV_DATA_LAYER_H__