yumapro  20.10-12
YumaPro SDK
sil_sa_profile.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3  * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4  *
5  * Unless required by applicable law or agreed to in writing,
6  * software distributed under the License is distributed on an
7  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8  * KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations
10  * under the License.
11  */
12 #ifndef _H_sil_sa_profile
13 #define _H_sil_sa_profile
14 
15 /* FILE: sil_sa_profile.h
16 *********************************************************************
17 * *
18 * P U R P O S E *
19 * *
20 *********************************************************************/
21 
29 /*********************************************************************
30 * *
31 * C H A N G E H I S T O R Y *
32 * *
33 *********************************************************************
34 
35 date init comment
36 ----------------------------------------------------------------------
37 07-sep-14 abb Begun
38 */
39 
40 #include <xmlstring.h>
41 
42 #ifndef _H_agt
43 #include "agt.h"
44 #endif
45 
46 #ifndef _H_status_enum
47 #include "status_enum.h"
48 #endif
49 
50 #ifndef _H_val
51 #include "val.h"
52 #endif
53 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 /********************************************************************
60 * *
61 * C O N S T A N T S *
62 * *
63 *********************************************************************/
64 
65 
66 /********************************************************************
67 * *
68 * T Y P E S *
69 * *
70 *********************************************************************/
71 
72 
73 
74 
91 /********************************************************************
92 * *
93 * F U N C T I O N S *
94 * *
95 *********************************************************************/
96 
97 
106 extern status_t
107  sil_sa_profile_cvt_value (val_value_t *val,
108  agt_profile_t *profile);
109 
110 
114 #ifdef __cplusplus
115 } /* end extern 'C' */
116 #endif
117 
118 #endif /* _H_sil_sa */
NCX_AGT_TARG_RUNNING
@ NCX_AGT_TARG_RUNNING
target=running
Definition: ncxtypes.h:355
val_find_child
val_value_t * val_find_child(const val_value_t *parent, const xmlChar *modname, const xmlChar *childname)
Find the first instance of the specified child node.
Definition: val.c:8560
AGT_SIL_SA_MOD
#define AGT_SIL_SA_MOD
YANG module used for SIL-SA service messages.
Definition: agt.h:430
val.h
Value Node Basic Support.
VAL_UINT32
#define VAL_UINT32(V)
Access the value as an uint32 ONLY if NCX_BT_UINT32.
Definition: val.h:497
status_enum.h
global error status code enumerations
sil_sa_profile.h
Agent Profile handler for SIL-SA.
NCX_AGT_START_NONE
@ NCX_AGT_START_NONE
not set
Definition: ncxtypes.h:364
VAL_UINT16
#define VAL_UINT16(V)
Access the value as an uint16 ONLY if NCX_BT_UINT16.
Definition: val.h:491
AGT_ACM_MODEL_YUMA_NACM
@ AGT_ACM_MODEL_YUMA_NACM
YUMA NACM (obsolete, not supported)
Definition: agt.h:631
AGT_ACM_MODEL_EXTERNAL
@ AGT_ACM_MODEL_EXTERNAL
external ACM via yp_system library
Definition: agt.h:632
ncxmod.h
NCX Module Load Manager.
AGT_ACM_MODEL_NONE
@ AGT_ACM_MODEL_NONE
not set
Definition: agt.h:629
val_find_next_child
val_value_t * val_find_next_child(const val_value_t *parent, const xmlChar *modname, const xmlChar *childname, const val_value_t *curchild)
Find the next instance of the specified child node.
Definition: val.c:8748
VAL_ENUM_NAME
#define VAL_ENUM_NAME(V)
Access the enum name in the value ONLY if BCX_NT_ENUM This is the macro used to check values in SIL c...
Definition: val.h:434
NO_ERR
@ NO_ERR
000
Definition: status_enum.h:188
xml_val.h
Utility functions for creating value structs.
sil_sa_profile_cvt_value
status_t sil_sa_profile_cvt_value(val_value_t *val, agt_profile_t *profile)
Convert the specified val_value_t tree into the fields of the specified agt_profile struct.
Definition: sil_sa_profile.c:83
AGT_TM_NONE
@ AGT_TM_NONE
this value is used
Definition: agt.h:638
NCX_AGT_TARG_NONE
@ NCX_AGT_TARG_NONE
not set
Definition: ncxtypes.h:353
AGT_ACM_MODEL_IETF_NACM
@ AGT_ACM_MODEL_IETF_NACM
IETF NACM (default)
Definition: agt.h:630
NCX_AGT_TARG_CANDIDATE
@ NCX_AGT_TARG_CANDIDATE
target=candidate
Definition: ncxtypes.h:354
val_util.h
Value Node Utilities.
rpc.h
NETCONF protocol remote procedure call common definitions.
AGT_ACMOD_ENFORCING
@ AGT_ACMOD_ENFORCING
full enforcement
Definition: agt.h:609
agt.h
Multi-Protocol Network Management Server.
VAL_INT32
#define VAL_INT32(V)
Access the value as an int32 ONLY if NCX_BT_INT32.
Definition: val.h:458
AGT_MAX_PORTS
#define AGT_MAX_PORTS
maximum number of –port leaf-list values that will be saved
Definition: agt.h:188
NCX_AGT_START_MIRROR
@ NCX_AGT_START_MIRROR
with-startup=false
Definition: ncxtypes.h:365
ncx_get_withdefaults_enum
ncx_withdefaults_t ncx_get_withdefaults_enum(const xmlChar *withdefstr)
Get the enum for the specified string value.
Definition: ncx.c:8844
NCX_AGT_START_DISTINCT
@ NCX_AGT_START_DISTINCT
with-startup=true
Definition: ncxtypes.h:366
NCX_EL_AGT_ACCESS_CONTROL
#define NCX_EL_AGT_ACCESS_CONTROL
<agt-profile> message name strings
Definition: ncxconst.h:608
xml_strcmp
int xml_strcmp(const xmlChar *s1, const xmlChar *s2)
String compare for xmlChar.
Definition: xml_util.c:1746
log.h
NCX System Logging Manager.
AGT_ACMOD_NONE
@ AGT_ACMOD_NONE
not set
Definition: agt.h:608
AGT_TM_PRIVATE
@ AGT_TM_PRIVATE
private transactions
Definition: agt.h:640
ncx.h
YANG module utility functions.
obj.h
Data Object Support.
AGT_ACMOD_PERMISSIVE
@ AGT_ACMOD_PERMISSIVE
permissive mode, read + exec allowed
Definition: agt.h:610
VAL_STR
#define VAL_STR(V)
Access the value as a string ONLY if typ_is_string() is true.
Definition: val.h:464
AGT_ACMOD_OFF
@ AGT_ACMOD_OFF
NACM completely off.
Definition: agt.h:612
AGT_TM_SHARED
@ AGT_TM_SHARED
shared transactions (only value supported)
Definition: agt.h:639
AGT_ACMOD_DISABLED
@ AGT_ACMOD_DISABLED
almost all access control turned off
Definition: agt.h:611
status.h
Global error messages for status code enumerations.
ncx_get_name_match_enum
ncx_name_match_t ncx_get_name_match_enum(const xmlChar *str)
Get the enum for the string name of a ncx_name_match_t enum.
Definition: ncx.c:10613
VAL_UINT8
#define VAL_UINT8(V)
Access the value as an uint8 ONLY if NCX_BT_UINT8.
Definition: val.h:485