summaryrefslogtreecommitdiffstats
path: root/libsensors_iio/software/core/mpl/state_storage.h
blob: c1eb47b1dcbe6875c0e059079a4db91bb2afc927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 $License:
    Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
    See included License.txt for License information.
 $
 */
#ifndef INV_STATE_STORAGE_H__
#define INV_STATE_STORAGE_H__

#include "mltypes.h"

#ifdef __cplusplus
extern "C" {
#endif

inv_error_t inv_store_data(const void *data, size_t size, unsigned long module,
                           unsigned long version);
inv_error_t inv_load_data(void *data, size_t size, unsigned long module,
                          unsigned long version);

#ifdef __cplusplus
}
#endif

#endif // INV_STATE_STORAGE_H__