Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WORK AROUND?] cfg_option: set default visibility on getAll() #137

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/lib/dhcpsrv/cfg_option.h
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ class CfgOption : public isc::data::CfgToElement {
///
/// @return Pointer to the container holding returned options. This
/// container is empty if no options have been found.
__attribute__ ((visibility ("default")))
OptionContainerPtr getAll(const std::string& option_space) const;

/// @brief Returns vendor options for the specified vendor id.
Expand All @@ -569,6 +570,7 @@ class CfgOption : public isc::data::CfgToElement {
///
/// @return Pointer to the container holding returned options. This
/// container is empty if no options have been found.
__attribute__ ((visibility ("default")))
OptionContainerPtr getAll(const uint32_t vendor_id) const;

/// @brief Returns all non-vendor or vendor options for the specified
Expand Down