Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_xctx_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 Execution Context (xctx) Internal Header
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 #ifndef __AFW_XCTX_INTERNAL_H__
10 #define __AFW_XCTX_INTERNAL_H__
11 
12 #include "afw_interface.h"
13 #include "afw_environment_internal.h"
14 
30 
31 /* Self typedef for afw_xctx_qualifier implementation of afw_object. */
32 typedef struct
34  afw_object_t pub;
35  afw_size_t reference_count;
36  const afw_utf8_t *qualifier;
37  afw_boolean_t for_testing;
39 
40 
41 AFW_STACK_STRUCT(afw_xctx_internal_qualifier_stack_s,
43 
53  afw_try_t *unhandled_error,
54  afw_error_t *error,
56  const afw_pool_t *p);
57 
63 AFW_DECLARE(void)
64 afw_xctx_internal_create_finishup(afw_xctx_t *xctx);
65 
66 
74 afw_xctx_internal_create_thread_xctx(
75  const afw_thread_t *thread, afw_xctx_t *xctx);
76 
77 
78 AFW_END_DECLARES
79 
82 #endif /* __AFW_XCTX_INTERNAL_H__ */
#define AFW_BEGIN_DECLARES
#define AFW_DECLARE(type)
Declare a public afw function.
Interfaceafw_interface header.
#define AFW_STACK_STRUCT(struct_name, entry_type)
Define a struct for a stack with the specified entry type.
Definition: afw_common.h:718
_Bool afw_boolean_t
Definition: afw_common.h:373
apr_size_t afw_size_t
size_t.
Definition: afw_common.h:151
afw_xctx_t * afw_xctx_internal_create_initialize(afw_try_t *unhandled_error, afw_error_t *error, afw_environment_internal_t *env, const afw_pool_t *p)
Definition: afw_xctx.c:35
Adaptive Framework Error.
Definition: afw_error.h:65
Interface afw_object public struct.
Interface afw_pool public struct.
Struct for public part of afw_pool_t.
Definition: afw_thread.h:56
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Definition: afw_xctx.h:352
Interface afw_xctx public struct.