We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05bb4ae commit 6306a69Copy full SHA for 6306a69
inc/sysrepo.h
@@ -368,6 +368,11 @@ typedef enum sr_datastore_e {
368
/**
369
* @brief Connects to the sysrepo datastore (Sysrepo Engine).
370
*
371
+ * @note If the client library loses connection to the Sysrepo Engine during
372
+ * the lifetime of the application, all Sysrepo API calls will start returning
373
+ * ::SR_ERR_DISCONNECT error. In this case, the application is supposed to reconnect
374
+ * with another ::sr_connect call and restart all lost sessions.
375
+ *
376
* @param[in] app_name Name of the application connecting to the datastore
377
* (can be a static string). Used only for accounting purposes.
378
* @param[in] opts Options overriding default connection handling by this call.
0 commit comments