yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_modtags.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018- 2021, YumaWorks, Inc., All Rights Reserved.
3 *
4 * Unless required by applicable law or agreed to in writing,
5 * software distributed under the License is distributed on an
6 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7 * KIND, either express or implied. See the License for the
8 * specific language governing permissions and limitations
9 * under the License.
10 */
11#ifndef _H_agt_modtags
12#define _H_agt_modtags
13
14/* FILE: agt_modtags.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
3514-apr-18 abb Begun
36
37*/
38
39#include <xmlstring.h>
40
41#ifndef _H_status_enum
42#include "status_enum.h"
43#endif
44
45#ifndef _H_xmlns
46#include "xmlns.h"
47#endif
48
49#ifndef _H_xml_msg
50#include "xml_msg.h"
51#endif
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
57
70/********************************************************************
71* *
72* F U N C T I O N S *
73* *
74*********************************************************************/
75
81extern status_t
82 agt_modtags_init (void);
83
84
90extern status_t
91 agt_modtags_init2 (void);
92
93
99extern void
100 agt_modtags_cleanup (void);
101
102
112extern status_t
114 val_value_t *inputval,
115 val_value_t **errval);
116
117
128extern boolean
130 val_value_t *val);
131
132
139extern void *
140 agt_modtags_find_modtag (const xmlChar *tagstr);
141
142
151extern boolean
152 agt_modtags_check_modtag (void *v_modtag,
153 xmlns_id_t nsid);
154
155
160#ifdef __cplusplus
161} /* end extern 'C' */
162#endif
163
164#endif /* _H_agt_modtags */
status_t agt_modtags_init(void)
Initialize YumaPro module tags feature.
Definition: agt_modtags.c:739
boolean agt_modtags_check_filter(xml_msg_hdr_t *msg, val_value_t *val)
Check a modtag filter in the specified msg applies to the value.
Definition: agt_modtags.c:944
void * agt_modtags_find_modtag(const xmlChar *tagstr)
Find a modtag; return opaque pointer.
Definition: agt_modtags.c:976
status_t agt_modtags_setup_filter(xml_msg_hdr_t *msg, val_value_t *inputval, val_value_t **errval)
Setup a modtag filter in the specified msg.
Definition: agt_modtags.c:887
status_t agt_modtags_init2(void)
Initialize YumaPro module tags feature (phase 2)
Definition: agt_modtags.c:776
void agt_modtags_cleanup(void)
Cleanup the module static data.
Definition: agt_modtags.c:844
boolean agt_modtags_check_modtag(void *v_modtag, xmlns_id_t nsid)
Check a modtag filter for NACM.
Definition: agt_modtags.c:1005
status_t
global error return code
Definition: status_enum.h:210
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
global error status code enumerations
one value to match one type
Definition: val.h:911
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:397
XML and JSON Message send and receive support.
XML namespace support.