I want to print attribute values inside customised getObject callback and I used maapi_cli_printf

but it is not working inside customised getObject function.

dat.get_obj = getObjectCLI

int getObjectCLI( confd_trans_ctx* tctx, confd_hkeypath_t* kp)
{

//here i used maapi_cli_printf,but it is not working…

}

please suggest some way to print values inside my custom getObject function.

Hi,

See

and