yumapro  20.10-14
YumaPro SDK
ncx_str.h File Reference

NCX Module Library String Utility Functions. More...

#include <xmlstring.h>
#include "dlq.h"
#include "ncxconst.h"
#include "ncxtypes.h"
Include dependency graph for ncx_str.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int32 ncx_compare_strs (const ncx_str_t *str1, const ncx_str_t *str2, ncx_btype_t btyp)
 Compare 2 ncx_str_t union contents. More...
status_t ncx_copy_str (const ncx_str_t *str1, ncx_str_t *str2, ncx_btype_t btyp)
 Copy the contents of str1 to str2. More...
void ncx_clean_str (ncx_str_t *str)
 Scrub the memory in a ncx_str_t by freeing all the sub-fields. More...
uint32 ncx_copy_c_safe_str (xmlChar *buffer, const xmlChar *strval)
 Copy the string to the buffer, changing legal YANG identifier chars that cannot be used in C function names to underscore. More...

Detailed Description

NCX Module Library String Utility Functions.