EVE 1.0
toc-ids.h
1 #ifndef EVE_HTTP_TOC_IDS_H_INCLUDED
2 #define EVE_HTTP_TOC_IDS_H_INCLUDED
3 
4 /**
5  * \addtogroup http
6  * \{
7  */
8 
9 #define GENERATOR(id) HTTP_RESOURCE_ ## id,
10 #define RESOURCE(id, name, ctype, flags) GENERATOR(id)
11 #define HTTP_FILE(id, name, url, ctype, flags) GENERATOR(id)
12 
13 /**
14  * @brief HTTP resource identifier type
15  *
16  * The engine supports up to 254 unique resources,
17  * each of them is mapped to the corresponding ID.
18  */
20  #include EVE_HTTP_TOC_FILE_GEN_H
21  HTTP_RESOURCE__COUNT, /**< Number of resources supported */
22 };
23 
24 #undef GENERATOR
25 #undef RESOURCE
26 #undef HTTP_FILE
27 
28 /** \} */
29 
30 #endif /* EVE_HTTP_TOC_IDS_H_INCLUDED */
http_resource_type_t
HTTP resource identifier type.
Definition: toc-ids.h:19