-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake UPDATE option to build server as a library
... and also to disable executable build.
- Loading branch information
1 parent
9572455
commit 6187713
Showing
3 changed files
with
77 additions
and
32 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,7 +1,7 @@ | ||
/** | ||
* @file np2_sr_setup.h | ||
* @file netopeer2.h | ||
* @author Michal Vasko <[email protected]> | ||
* @brief netopeer2-server sysrepo YANG module setup library header | ||
* @brief netopeer2-server library header | ||
* | ||
* @copyright | ||
* Copyright (c) 2024 Deutsche Telekom AG. | ||
|
@@ -14,8 +14,8 @@ | |
* https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
#ifndef NP2_SR_SETUP_H_ | ||
#define NP2_SR_SETUP_H_ | ||
#ifndef NETOPEER2_H_ | ||
#define NETOPEER2_H_ | ||
|
||
#include <sys/stat.h> | ||
|
||
|
@@ -32,4 +32,6 @@ | |
*/ | ||
int np2_sr_setup(const char *owner, const char *group, mode_t perm); | ||
|
||
#endif /* NP2_SR_SETUP_H_ */ | ||
@NETOPEER2_SERVER_FUNC@ | ||
|
||
#endif /* NETOPEER2_H_ */ |