2021-01-26 16:14:58 +01:00
|
|
|
#ifndef STORAGE_H
|
|
|
|
#define STORAGE_H
|
|
|
|
|
2021-02-01 23:17:48 +01:00
|
|
|
#include "contacts.h"
|
|
|
|
|
2021-01-26 16:14:58 +01:00
|
|
|
/**
|
|
|
|
* Initialize the storage api.
|
|
|
|
*/
|
|
|
|
int init_storage(void);
|
|
|
|
|
2021-02-01 23:17:48 +01:00
|
|
|
/**
|
|
|
|
* Store all contacts of a period in flash.
|
|
|
|
*/
|
|
|
|
int store_period_contacts(period_contacts_t* contacts);
|
|
|
|
|
2021-01-26 16:14:58 +01:00
|
|
|
#endif
|