All hash_ functions have been prefixed with clicon_ to avoid name collision with other packages (frr)
This commit is contained in:
parent
3dba0b5370
commit
17e3e74ad5
8 changed files with 89 additions and 89 deletions
|
|
@ -160,10 +160,10 @@ xmldb_disconnect(clicon_handle h)
|
|||
int i;
|
||||
db_elmnt *de;
|
||||
|
||||
if (hash_keys(clicon_db_elmnt(h), &keys, &klen) < 0)
|
||||
if (clicon_hash_keys(clicon_db_elmnt(h), &keys, &klen) < 0)
|
||||
goto done;
|
||||
for(i = 0; i < klen; i++)
|
||||
if ((de = hash_value(clicon_db_elmnt(h), keys[i], NULL)) != NULL){
|
||||
if ((de = clicon_hash_value(clicon_db_elmnt(h), keys[i], NULL)) != NULL){
|
||||
if (de->de_xml){
|
||||
xml_free(de->de_xml);
|
||||
de->de_xml = NULL;
|
||||
|
|
@ -310,7 +310,7 @@ xmldb_unlock_all(clicon_handle h,
|
|||
int i;
|
||||
db_elmnt *de;
|
||||
|
||||
if (hash_keys(clicon_db_elmnt(h), &keys, &klen) < 0)
|
||||
if (clicon_hash_keys(clicon_db_elmnt(h), &keys, &klen) < 0)
|
||||
goto done;
|
||||
for (i = 0; i < klen; i++)
|
||||
if ((de = clicon_db_elmnt_get(h, keys[i])) != NULL &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue