Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_vfs_adaptor_internal.h
Go to the documentation of this file.
1 #ifndef __AFW_VFS_ADAPTOR_INTERNAL_H__
2 #define __AFW_VFS_ADAPTOR_INTERNAL_H__
3 
4 /* Internal implementation header for adaptor type vfs */
5 // See the 'COPYING' file in the project root for licensing information.
6 /*
7  * Adaptive Framework
8  *
9  * Copyright (c) 2010-2023 Clemson University
10  *
11  */
12 
13 
19 #include "afw_interface.h"
21 
23 
24 typedef struct afw_vfs_adaptor_internal_s
26 
29 
32 
33 
34 
36  afw_adaptor_t pub;
37 
38  /* Array of prefix/path pairs from conf. Last key is NULL. */
39  const afw_key_z_string_z_t *vfs_map;
40 
41  /*
42  * List of vfsPath filename patterns to make executable. A NULL value for
43  * s_z terminates the list.
44  */
45  const afw_utf8_utf8_z_t *mark_executable;
46 };
47 
48 
49 
52 };
53 
54 
55 
57  const afw_pool_t *p;
58  const afw_adaptor_impl_request_t *impl_request;
59  const afw_query_criteria_t *criteria;
60  void *original_context;
61  afw_object_cb_t original_callback;
62  const afw_utf8_t *suffix;
63  afw_boolean_t includeHidden;
64  afw_boolean_t recursive;
65 };
66 
67 
68 extern const afw_adaptor_t *
69 afw_vfs_adaptor_internal_create_cede_p(
70  const afw_object_t *properties,
71  const afw_pool_t *p,
72  afw_xctx_t *xctx);
73 
74 
75 
76 extern const afw_adaptor_session_t *
77 afw_vfs_adaptor_internal_session_create(
79  afw_xctx_t *xctx);
80 
81 
82 AFW_END_DECLARES
83 
84 #endif /* AFW_VFS_ADAPTOR_INTERNAL_H__ */
#define AFW_BEGIN_DECLARES
Interfaceafw_interface header.
Adaptive Framework register generated (afw_vfs) header.
afw_boolean_t(* afw_object_cb_t)(const afw_object_t *object, void *context, afw_xctx_t *xctx)
Typedef for afw_adaptor_session_object callback.
Definition: afw_common.h:1176
_Bool afw_boolean_t
Definition: afw_common.h:373
Internal request info used by afw_adaptor_impl*() functions.
Interface afw_adaptor public struct.
Interface afw_adaptor_session public struct.
Typedef for key/string pair that have both utf8 and utf8_z.
Definition: afw_common.h:698
Interface afw_object public struct.
Interface afw_pool public struct.
Parsed query criteria.
NFC normalized UTF-8 string.
Definition: afw_common.h:545
Interface afw_xctx public struct.
NFC normalized UTF-8 string accessible as afw_utf8_t or afw_utf8_z_t.
Definition: afw_common.h:555