-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New API for configuring TLS added. For the server, only it's certificate is currently supported. For the client, only it's end-entity and certificate-authority certificates are supported (as compared to ietf-netconf-server module). Each source and header files' includes were refactored (added missing/deleted redundant). New file to generate documentation from added to replace the old one. New API parameters position changed. Split the API to SSH/TLS/common files and added new common header for these. Made changes to some internal structures and renamed some members.
- Loading branch information
roman
committed
Jun 5, 2023
1 parent
6eaf450
commit c8360c6
Showing
38 changed files
with
3,318 additions
and
2,733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,3 @@ | ||
/** | ||
* @file libnetconf.h | ||
* @author Radek Krejci <[email protected]> | ||
* @author Michal Vasko <[email protected]> | ||
* @brief libnetconf2 main internal header. | ||
* | ||
* @copyright | ||
* Copyright (c) 2015 - 2021 CESNET, z.s.p.o. | ||
* | ||
* This source code is licensed under BSD 3-Clause License (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
#ifndef NC_LIBNETCONF_H_ | ||
#define NC_LIBNETCONF_H_ | ||
|
||
#include "config.h" | ||
#include "log_p.h" | ||
#include "messages_p.h" | ||
#include "netconf.h" | ||
#include "session_p.h" | ||
|
||
/* Tests whether string is empty or non-empty. */ | ||
#define strisempty(str) ((str)[0] == '\0') | ||
#define strnonempty(str) ((str)[0] != '\0') | ||
|
||
/** | ||
* @mainpage About | ||
* | ||
|
@@ -664,5 +635,3 @@ | |
* @defgroup server Server | ||
* @brief NETCONF server functionality. | ||
*/ | ||
|
||
#endif /* NC_LIBNETCONF_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.