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

To send RPCs on a session, you simply create an RPC, send it using nc_send_rpc(), and then wait for a reply using nc_recv_reply(). If you are subscribed, there are 2 ways of receiving notifications. Either you wait for them the same way as for standard replies with nc_recv_notif() or you create a dispatcher with nc_recv_notif_dispatch() that asynchronously (in a separate thread) reads notifications and passes them to your callback.

Functions List

Available in nc_client.h.