Contiki 2.5
Data Structures | Macros
storage.h File Reference

this file defines the interface for storage modules More...

#include <stdlib.h>
#include <stdio.h>
#include "contiki.h"
#include "memb.h"
#include "bundle.h"

Go to the source code of this file.

Data Structures

struct  storage_entry_t
 Representation of a bundle as returned by the "get_bundles" call to the storage module. More...
 
struct  storage_driver
 storage module interface More...
 

Macros

#define BUNDLE_STORAGE   storage_mmem
 Which storage driver are we going to use? Default is RAM.
 
#define BUNDLE_STORAGE_SIZE   10
 How many bundles can possibly be stored in the data structures?
 
#define BUNDLE_STORAGE_INIT   0
 Should storage go into an initial safe state when starting up? Otherwise, some storages may try to reconstruct the last start before powering down.
 
#define BUNDLE_STORAGE_BEHAVIOUR_DELETE_OLDER   1
 Should the storage run out if space, what shall we do?
 

Detailed Description

this file defines the interface for storage modules

Author
Georg von Zengen vonze.nosp@m.ng@i.nosp@m.br.cs.nosp@m..tu-.nosp@m.bs.de

Definition in file storage.h.