Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_function_rfc822Name.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * afw_function_execute_* functions for rfc822Name
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
14 #include "afw_internal.h"
15 
16 
17 
18 /*
19  * Adaptive function: match<rfc822Name>
20  *
21  * afw_function_execute_match_rfc822Name
22  *
23  * See afw_function_bindings.h for more information.
24  *
25  * Returns true if arg1 matches some terminal sequence of RDNs from arg2 when
26  * compared using equal_rfc822Name.
27  *
28  * This function is pure, so it will always return the same result
29  * given exactly the same parameters and has no side effects.
30  *
31  * Declaration:
32  *
33  * ```
34  * function match<rfc822Name>(
35  * arg1: rfc822Name,
36  * arg2: string
37  * ): boolean;
38  * ```
39  *
40  * Parameters:
41  *
42  * arg1 - (rfc822Name)
43  *
44  * arg2 - (string)
45  *
46  * Returns:
47  *
48  * (boolean)
49  */
50 const afw_value_t *
53 {
55  AFW_THROW_ERROR_Z(general, "Not implemented", x->xctx);
56 }
Adaptive Framework Core Internal.
#define AFW_THROW_ERROR_Z(code, message_z, xctx)
Macro used to set error and 0 rv in xctx and throw it.
Definition: afw_error.h:283
const afw_value_t * afw_function_execute_match_rfc822Name(afw_function_execute_t *x)
Adaptive Function match<rfc822Name>
Function execute parameter.
Definition: afw_function.h:53
afw_xctx_t * xctx
The execution context (xctx) of caller.
Definition: afw_function.h:62
Interface afw_value public struct.