ConfD User Community

Printing Confd KeyPahts


#1

Hi,

In confd, there is a data structure called

typedef struct confd_hkeypath {
int len;
confd_value_t v[MAXDEPTH][MAXKEYLEN];
} confd_hkeypath_t;

Is there any utility I can use so that I can add this in my c++ files that print the logs in my system.

Thanks in advance.


#2

Hello,

there’s procedure confd_pp_kpath() in confd_lib.h that you can use to get textual representation of struct into char buffer…


#3

Thanks for the help!