restconf; xmlput extended with api_path; xmldb_put_tree

This commit is contained in:
Olof hagsand 2016-09-20 21:51:08 +02:00
parent ebd53a34ee
commit b744a4ad8a
21 changed files with 732 additions and 1260 deletions

View file

@ -133,7 +133,10 @@ db_delete(char *file)
* @retval -1 on error
*/
int
db_set(char *file, char *key, void *data, size_t datalen)
db_set(char *file,
char *key,
void *data,
size_t datalen)
{
DEPOT *dp;
@ -310,7 +313,8 @@ db_del(char *file, char *key)
* @retval -1 error
*/
int
db_exists(char *file, char *key)
db_exists(char *file,
char *key)
{
DEPOT *dp;
int len;