yumapro  20.10-12
YumaPro SDK
agt_nmda.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 - 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_nmda
12 #define _H_agt_nmda
13 
14 /* FILE: agt_nmda.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 
33 date init comment
34 ----------------------------------------------------------------------
35 13-jun-19 abb Begun
36 */
37 
38 #ifndef _H_status_enum
39 #include "status_enum.h"
40 #endif
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 /********************************************************************
47 * *
48 * C O N S T A N T S *
49 * *
50 *********************************************************************/
51 
52 /********************************************************************
53 * *
54 * T Y P E S *
55 * *
56 *********************************************************************/
57 
58 
59 /********************************************************************
60 * *
61 * F U N C T I O N S *
62 * *
63 *********************************************************************/
64 
83 extern status_t
84  agt_nmda_init (void);
85 
86 
92 extern status_t
93  agt_nmda_init2 (void);
94 
95 
101 extern void
102  agt_nmda_cleanup (void);
103 
104 
112 extern boolean
113  agt_nmda_test_filters (xml_msg_hdr_t *mhdr,
114  val_value_t *node);
115 
116 
120 #ifdef __cplusplus
121 } /* end extern 'C' */
122 #endif
123 
124 #endif /* _H_agt_nmda */
val_get_origin
ncx_nmda_origin_t val_get_origin(const val_value_t *val)
Get the NMDA origin value for this node.
Definition: val_util.c:7943
val.h
Value Node Basic Support.
status_enum.h
global error status code enumerations
agt_nmda_test_filters
boolean agt_nmda_test_filters(xml_msg_hdr_t *mhdr, val_value_t *node)
NMDA check pre-condition filters.
Definition: agt_nmda.c:189
VAL_NAME
#define VAL_NAME(V)
Access the value name.
Definition: val.h:399
ncxconst.h
Contains NCX constants.
ncxmod.h
NCX Module Load Manager.
NO_ERR
@ NO_ERR
000
Definition: status_enum.h:188
log_debug4
void void void void void void void void void void void void void log_debug4(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_DEBUG4 log entry.
val_util.h
Value Node Utilities.
agt_use_nmda
boolean agt_use_nmda(void)
Check if NMDA is enabled.
Definition: agt.c:5424
y_ietf_netconf_nmda_init2
status_t y_ietf_netconf_nmda_init2(void)
Phase 2 initialization.
Definition: ietf-netconf-nmda.c:715
agt_get_savedevQ
dlq_hdr_t * agt_get_savedevQ(void)
Get the agt_savedevQ pointer.
Definition: agt.c:4747
ERR_INTERNAL_INIT_SEQ
@ ERR_INTERNAL_INIT_SEQ
007
Definition: status_enum.h:197
ncx_obj_is_generic
boolean ncx_obj_is_generic(const obj_template_t *obj)
Check if the object is 1 of the gen_foo object templates.
Definition: ncx.c:13013
obj_get_config_flag
boolean obj_get_config_flag(const obj_template_t *obj)
Get the config flag for an obj_template_t Return the explicit value or the inherited value Also retur...
Definition: obj.c:11174
dlq_nextEntry
#define dlq_nextEntry(nodeP)
get the next queue entry after the current entry
Definition: dlq.h:265
agt.h
Multi-Protocol Network Management Server.
obj_is_np_container
boolean obj_is_np_container(const obj_template_t *obj)
Check if the object is an Non-Presence-container.
Definition: obj.c:14487
agt_nmda.h
Server NMDA support.
agt_nmda_cleanup
void agt_nmda_cleanup(void)
Cleanup the NMDA Module.
Definition: agt_nmda.c:156
y_ietf_netconf_nmda_cleanup
void y_ietf_netconf_nmda_cleanup(void)
cleanup the server instrumentation library
Definition: ietf-netconf-nmda.c:730
ncx_nmda.h
NMDA Data Support.
XML_MSG_NMDA_PARAMS
#define XML_MSG_NMDA_PARAMS(M)
NMDA params.
Definition: xml_msg.h:316
LOGDEBUG4
#define LOGDEBUG4
Check if at least log-level=debug4.
Definition: log.h:302
NCX_NMDA_DS_OPERATIONAL
@ NCX_NMDA_DS_OPERATIONAL
operational datastore
Definition: ncxtypes.h:1343
y_ietf_netconf_nmda_init
status_t y_ietf_netconf_nmda_init(const xmlChar *modname, const xmlChar *revision)
Phase 1 module init.
Definition: ietf-netconf-nmda.c:603
ietf-netconf-nmda.h
NMDA protocol operation SIL APIs.
dlq_firstEntry
#define dlq_firstEntry(listP)
get the first entry in the queue list
Definition: dlq.h:337
VAL_OBJ
#define VAL_OBJ(V)
Access the object template.
Definition: val.h:381
ncx.h
YANG module utility functions.
agt_nmda_init
status_t agt_nmda_init(void)
Initialize the NMDA modules.
Definition: agt_nmda.c:79
agt_nmda_init2
status_t agt_nmda_init2(void)
NMDA init phase 2.
Definition: agt_nmda.c:124
status.h
Global error messages for status code enumerations.
ncx_nmda_load_modules
status_t ncx_nmda_load_modules(dlq_hdr_t *devQ)
Load the ietf-datastore and ietf-origin modules.
Definition: ncx_nmda.c:559