33 #ifdef BUNDLE_CONF_STORAGE
34 #define BUNDLE_STORAGE BUNDLE_CONF_STORAGE
36 #define BUNDLE_STORAGE storage_mmem
42 #ifdef BUNDLE_CONF_STORAGE_SIZE
43 #define BUNDLE_STORAGE_SIZE BUNDLE_CONF_STORAGE_SIZE
45 #define BUNDLE_STORAGE_SIZE 10
52 #ifdef BUNDLE_CONF_STORAGE_INIT
53 #define BUNDLE_STORAGE_INIT BUNDLE_CONF_STORAGE_INIT
55 #define BUNDLE_STORAGE_INIT 0
62 #define BUNDLE_STORAGE_BEHAVIOUR_DELETE_OLDER 1
63 #define BUNDLE_STORAGE_BEHAVIOUR_DELETE_YOUNGER 2
64 #define BUNDLE_STORAGE_BEHAVIOUR_DO_NOT_DELETE 3
65 #define BUNDLE_STORAGE_BEHAVIOUR_DELETE_OLDEST 4
66 #define BUNDLE_STORAGE_BEHAVIOUR_DELETE_YOUNGEST 5
68 #ifdef BUNDLE_CONF_STORAGE_BEHAVIOUR
69 #define BUNDLE_STORAGE_BEHAVIOUR BUNDLE_CONF_STORAGE_BEHAVIOUR
71 #define BUNDLE_STORAGE_BEHAVIOUR BUNDLE_STORAGE_BEHAVIOUR_DELETE_OLDER
90 void (* reinit)(void);
94 uint16_t (*
del_bundle)(uint32_t bundle_num, uint8_t reason);
96 struct mmem *(* read_bundle)(uint32_t bundle_num);