libnetconf2  1.1.48
NETCONF library for clients and servers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Client-side Call Home

Call Home functionality for client-side applications. More...

Modules

 Client-side Call Home on SSH
 SSH settings for the Call Home functionality.
 
 Client-side Call Home on TLS
 TLS settings for the Call Home functionality.
 

Functions

int nc_accept_callhome (int timeout, struct ly_ctx *ctx, struct nc_session **session)
 Accept a Call Home connection on any of the listening binds. More...
 

Detailed Description

Call Home functionality for client-side applications.

Function Documentation

int nc_accept_callhome ( int  timeout,
struct ly_ctx *  ctx,
struct nc_session **  session 
)

Accept a Call Home connection on any of the listening binds.

Parameters
[in]timeoutTimeout for receiving a new connection in milliseconds, 0 for non-blocking call, -1 for infinite waiting.
[in]ctxSession context to use. Can be NULL.
[out]sessionNew session.
Returns
1 on success, 0 on timeout, -1 on error.