-
Notifications
You must be signed in to change notification settings - Fork 77
Connectivity API: get information about links and transports #1171
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
base: main
Are you sure you want to change the base?
Conversation
|
PR missing one of the required labels: {'documentation', 'ci', 'internal', 'dependencies', 'bug', 'api-sync', 'enhancement', 'breaking-change', 'new feature'} |
|
PR missing one of the required labels: {'enhancement', 'documentation', 'api-sync', 'dependencies', 'internal', 'new feature', 'breaking-change', 'ci', 'bug'} |
|
PR missing one of the required labels: {'ci', 'documentation', 'new feature', 'breaking-change', 'dependencies', 'internal', 'api-sync', 'enhancement', 'bug'} |
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
Co-authored-by: DenisBiryukov91 <[email protected]>
| /// @return 0 on success, negative value on failure. | ||
| #[cfg(feature = "unstable")] | ||
| #[no_mangle] | ||
| pub extern "C" fn z_declare_background_transport_events_listener( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You check the return code of this function in other places. But does it ever return anything other than Z_OK?
| /// @return 0 on success, negative value on failure. | ||
| #[cfg(feature = "unstable")] | ||
| #[no_mangle] | ||
| pub extern "C" fn z_declare_background_link_events_listener( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same. Does it ever return anything other than Z_OK?
The binding for the connectivity api introduced in eclipse-zenoh/zenoh#2301