yumapro  20.10-12
YumaPro SDK
ipaddr_typ.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018, 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_ipaddr_typ
12 #define _H_ipaddr_typ
13 
14 /* FILE: ipaddr_typ.h
15 *********************************************************************
16 * *
17 * P U R P O S E *
18 * *
19 *********************************************************************/
20 
28 /*********************************************************************
29 * *
30 * C H A N G E H I S T O R Y *
31 * *
32 *********************************************************************
33 
34 date init comment
35 ----------------------------------------------------------------------
36 07-apr-18 abb Begun
37 */
38 
39 #ifndef _H_status_enum
40 #include "status_enum.h"
41 #endif
42 
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
48 /********************************************************************
49 * *
50 * F U N C T I O N S *
51 * *
52 *********************************************************************/
53 
54 
85 extern status_t ipaddr_typ_init (void);
86 
87 
91 #ifdef __cplusplus
92 } /* end extern 'C' */
93 #endif
94 
95 #endif /* _H_ipaddr_typ */
typ_get_basetype
ncx_btype_t typ_get_basetype(const typ_def_t *typdef)
Get the final base type of the specified typ_def_t.
Definition: typ.c:1764
xml_strlen
uint32 xml_strlen(const xmlChar *str)
Get the String len for xmlChar.
Definition: xml_util.c:1406
xml_strdup
xmlChar * xml_strdup(const xmlChar *copyFrom)
String duplicate for xmlChar.
Definition: xml_util.c:1553
ipaddr_typ_init
status_t ipaddr_typ_init(void)
Initialize this module; must be after ietf-inet-types module has been loaded.
Definition: ipaddr_typ.c:402
status_enum.h
global error status code enumerations
typ_userdef.h
User Defined Types.
ncxmod.h
NCX Module Load Manager.
errno_to_status
status_t errno_to_status(void)
Get the errno variable and convert it to a status_t.
Definition: status.c:968
NO_ERR
@ NO_ERR
000
Definition: status_enum.h:188
ERR_NCX_OPERATION_FAILED
@ ERR_NCX_OPERATION_FAILED
274
Definition: status_enum.h:315
ERR_NCX_INVALID_VALUE
@ ERR_NCX_INVALID_VALUE
258
Definition: status_enum.h:299
ERR_INTERNAL_MEM
@ ERR_INTERNAL_MEM
003
Definition: status_enum.h:193
typ.h
Parameter Type Handler.
ipaddr_typ.h
Setup type callbacks for ip-address types.
EMPTY_STRING
#define EMPTY_STRING
empty string used to get const xmlChar * cast
Definition: ncxconst.h:289
xml_strcmp
int xml_strcmp(const xmlChar *s1, const xmlChar *s2)
String compare for xmlChar.
Definition: xml_util.c:1746
xml_strcpy
uint32 xml_strcpy(xmlChar *copyTo, const xmlChar *copyFrom)
String copy for xmlChar.
Definition: xml_util.c:1486
typ_userdef_register
status_t typ_userdef_register(const xmlChar *modname, const xmlChar *typname, typ_validate_fn_t validate_fn, typ_canonical_fn_t canonical_fn, typ_compare_fn_t compare_fn, void *cookie)
Register the callback functions for a user defined type.
Definition: typ_userdef.c:118
ncx.h
YANG module utility functions.
VAL_STR
#define VAL_STR(V)
Access the value as a string ONLY if typ_is_string() is true.
Definition: val.h:464
NCX_BT_STRING
@ NCX_BT_STRING
string
Definition: ncxtypes.h:217
status.h
Global error messages for status code enumerations.