Skip to content

Commit

Permalink
config UPDATE add docs and refactor some API
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Jul 12, 2023
1 parent d32c6cb commit be18dd4
Show file tree
Hide file tree
Showing 15 changed files with 1,380 additions and 425 deletions.
6 changes: 3 additions & 3 deletions Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ INLINE_INFO = YES
# name. If set to NO, the members will appear in declaration order.
# The default value is: YES.

SORT_MEMBER_DOCS = YES
SORT_MEMBER_DOCS = NO

# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
# descriptions of file, namespace and class members alphabetically by member
Expand All @@ -588,7 +588,7 @@ SORT_MEMBERS_CTORS_1ST = YES
# appear in their defined order.
# The default value is: NO.

SORT_GROUP_NAMES = YES
SORT_GROUP_NAMES = NO

# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
# fully-qualified names, including namespaces. If set to NO, the class list will
Expand Down Expand Up @@ -2069,7 +2069,7 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.

PREDEFINED = NC_ENABLED_SSH NC_ENABLED_TLS
PREDEFINED = NC_ENABLED_SSH_TLS

# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The
Expand Down
2 changes: 1 addition & 1 deletion examples/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ init(struct ly_ctx **context, struct nc_pollsession **ps, const char *path, NC_T
}

/* create client authentication configuration data */
rc = nc_server_config_new_ssh_client_auth_password(*context, "endpt", SSH_USERNAME, SSH_PASSWORD, &config);
rc = nc_server_config_new_ssh_user_password(*context, "endpt", SSH_USERNAME, SSH_PASSWORD, &config);
if (rc) {
ERR_MSG_CLEANUP("Error creating client authentication configuration data.\n");
}
Expand Down
Loading

0 comments on commit be18dd4

Please sign in to comment.