Skip to content

Commit bd3b5bd

Browse files
committed
doc UPDATE missing doxygen
1 parent 3553179 commit bd3b5bd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/main.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,13 @@ server_destroy(void)
691691
free(np2srv.url_protocols);
692692
}
693693

694+
/**
695+
* @brief Open the server PID file and write into it.
696+
*
697+
* @param[in] pidfile Path to the PID file.
698+
* @return 0 on success.
699+
* @return -1 on error.
700+
*/
694701
static int
695702
server_open_pidfile(const char *pidfile)
696703
{
@@ -735,16 +742,6 @@ server_open_pidfile(const char *pidfile)
735742
* @brief Callback for handling netconf-server, ietf-keystore and ietf-truststore data changes.
736743
*
737744
* The diff is given to libnetconf2, which then handles the changes.
738-
*
739-
* @param session sysrepo session.
740-
* @param[in] sub_id Subscription identifier.
741-
* @param[in] module_name Module's name.
742-
* @param[in] xpath XPath.
743-
* @param[in] event Event.
744-
* @param[in] request_id Request identifier.
745-
* @param private_data Private data.
746-
*
747-
* @return SR_ERR_OK on success, on error any other value.
748745
*/
749746
static int
750747
np2srv_libnetconf2_config_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), const char *UNUSED(module_name),
@@ -766,10 +763,13 @@ np2srv_libnetconf2_config_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id),
766763

767764
#ifdef NC_ENABLED_SSH_TLS
768765

766+
/**
767+
* @brief Callback for providing SSH algorithms operational data.
768+
*/
769769
static int
770-
np2srv_ssh_algs_oper_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), const char *module_name,
771-
const char *path, const char *UNUSED(request_xpath), uint32_t UNUSED(request_id),
772-
struct lyd_node **parent, void *UNUSED(private_data))
770+
np2srv_ssh_algs_oper_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), const char *module_name, const char *path,
771+
const char *UNUSED(request_xpath), uint32_t UNUSED(request_id), struct lyd_node **parent,
772+
void *UNUSED(private_data))
773773
{
774774
int ret = 0;
775775
const struct ly_ctx *ly_ctx;

0 commit comments

Comments
 (0)