Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_request_handler_internal.h
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Director Internal Header
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 #ifndef __AFW_REQUEST_HANDLER_INTERNAL_H__
10 #define __AFW_REQUEST_HANDLER_INTERNAL_H__
11 
12 #include "afw_interface.h"
13 
29 
32  afw_xctx_t *xctx;
33  const afw_pool_t *p;
34  const afw_object_t *properties;
35  const afw_object_options_t *default_options;
37 
38 typedef struct afw_request_handler_entry_s
40 
43  const afw_utf8_t *object_id;
44  const afw_utf8_t *uri_prefix;
45  const afw_utf8_t *handler_type;
46  const afw_object_t *properties;
47  const afw_request_handler_t *rh;
48  const afw_request_handler_factory_t *factory;
49 };
50 
51 
52 #define AFW_REQUEST_HANDLER_S_SINGLETON_KEY_HEAD afw_s_afw_request_handler_head
53 
55  afw_request_handler_entry_t *first_handler;
56  afw_request_handler_entry_t *last_handler;
58 
59 
62  const afw_utf8_t *type,
63  const afw_object_t *entry,
64  const afw_utf8_t *source_location,
65  const afw_pool_t *p, afw_xctx_t *xctx);
66 
67 AFW_END_DECLARES
68 
71 #endif /* __AFW_REQUEST_HANDLER_INTERNAL_H__ */
#define AFW_BEGIN_DECLARES
Interfaceafw_interface header.
void afw_request_handler_internal_conf_type_create_cede_p(const afw_utf8_t *type, const afw_object_t *entry, const afw_utf8_t *source_location, const afw_pool_t *p, afw_xctx_t *xctx)
Configuration handler for entry type "requestHandler".
Struct for object processing options.
Interface afw_object public struct.
Interface afw_pool public struct.
Interface afw_request_handler_factory public struct.
Interface afw_request_handler public struct.
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.