store.h File Reference

Store module header file. More...

#include "mcl_core/mcl_list.h"
#include "item.h"
Include dependency graph for store.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  store_item_t
 
struct  store_t
 

Enumerations

enum  E_MCL_STORE_ITEM_STATUS { STORE_ITEM_STATUS_READY, STORE_ITEM_STATUS_SELECTED, STORE_ITEM_STATUS_PROCESSED, STORE_ITEM_STATUS_IGNORED }
 

Functions

MCL_LOCAL void store_item_destroy (store_item_t **store_item)
 

Detailed Description

Store module header file.

Definition in file store.h.

Enumeration Type Documentation

Store item status.

Enumerator
STORE_ITEM_STATUS_READY 

This item is not processed before.

STORE_ITEM_STATUS_SELECTED 

This item is not processed before, selected for current request.

STORE_ITEM_STATUS_PROCESSED 

Current item has been added to the current http request.

STORE_ITEM_STATUS_IGNORED 

There is not enough space in the http request for the current item.

Definition at line 18 of file store.h.

Function Documentation

MCL_LOCAL void store_item_destroy ( store_item_t **  store_item)

This function is called to destroy store item.

Parameters
[in]store_itemStore item to be destroyed.

Definition at line 186 of file store.c.

References _item_destroy(), MCL_DEBUG_ENTRY, MCL_DEBUG_LEAVE, and MCL_FREE.

Referenced by _remove_uploaded_store_items(), and mcl_store_destroy().

Here is the call graph for this function:

Here is the caller graph for this function: