Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

remove rmw_localhost_only_t. #376

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions rmw/include/rmw/init_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ extern "C"
#include "rcutils/allocator.h"
#include "rmw/discovery_options.h"
#include "rmw/domain_id.h"
#include "rmw/localhost.h"
#include "rmw/macros.h"
#include "rmw/ret_types.h"
#include "rmw/security_options.h"
Expand Down Expand Up @@ -53,8 +52,6 @@ typedef struct RMW_PUBLIC_TYPE rmw_init_options_s
size_t domain_id;
/// Security options
rmw_security_options_t security_options;
/// Enable localhost only
rmw_localhost_only_t localhost_only;
/// Configure discovery
rmw_discovery_options_t discovery_options;
/// Enclave, name used to find security artifacts in a sros2 keystore.
Expand Down
40 changes: 0 additions & 40 deletions rmw/include/rmw/localhost.h

This file was deleted.

2 changes: 0 additions & 2 deletions rmw/src/init_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <stddef.h>

#include "rmw/init_options.h"
#include "rmw/localhost.h"
#include "rmw/discovery_options.h"

#ifdef __cplusplus
Expand All @@ -28,7 +27,6 @@ rmw_get_zero_initialized_init_options(void)
{
return (const rmw_init_options_t) {
.domain_id = RMW_DEFAULT_DOMAIN_ID,
.localhost_only = RMW_LOCALHOST_ONLY_DEFAULT,
.discovery_options = rmw_get_zero_initialized_discovery_options(),
.implementation_identifier = NULL,
.impl = NULL,
Expand Down