store.h
Go to the documentation of this file.
1 
9 #ifndef STORE_H_
10 #define STORE_H_
11 
12 #include "mcl_core/mcl_list.h"
13 #include "item.h"
14 
19 {
25 
37 typedef struct mcl_store_item_t
38 {
39  void *item;
43 } store_item_t;
44 
48 typedef struct mcl_store_t
49 {
53 } store_t;
54 
60 MCL_LOCAL void store_item_destroy(store_item_t **store_item);
61 
62 #endif //STORE_H_
#define MCL_LOCAL
mcl_size_t id
Id of the item in the store.
Definition: store.h:41
size_t mcl_size_t
void * item
Item to be added to the store.
Definition: store.h:39
mcl_list_t * item_list
Contains store_item_t items.
Definition: store.h:51
Current item has been added to the current http request.
Definition: store.h:22
MCL_LOCAL void store_item_destroy(store_item_t **store_item)
Definition: store.c:186
E_MCL_STORE_ITEM_STATUS
Definition: store.h:18
struct mcl_store_t mcl_store_t
Definition: mcl_store.h:33
Definition: store.h:48
This item is not processed before, selected for current request.
Definition: store.h:21
mcl_size_t item_size
Size of the item in the store.
Definition: store.h:42
This item is not processed before.
Definition: store.h:20
Item module header file.
E_MCL_STORE_ITEM_STATUS status
Status of item in the store.
Definition: store.h:40
mcl_item_t item_base
Item base of an item.
Definition: store.h:50
There is not enough space in the http request for the current item.
Definition: store.h:23
mcl_size_t last_item_id
Id of the last item in the store.
Definition: store.h:52