Skip to main content

NrosRmwSession

Type Alias NrosRmwSession 

Source
pub type NrosRmwSession = rmw_session_t;
Expand description

Compat alias for the generated rmw_session_t.

Aliased Type§

#[repr(C)]
pub struct NrosRmwSession { pub node_name: *const i8, pub namespace_: *const i8, pub _reserved: [u8; 8], pub backend_data: *mut c_void, }

Fields§

§node_name: *const i8

Node name (borrowed from caller; outlives the session).

§namespace_: *const i8

Node namespace (borrowed from caller; outlives the session).

§_reserved: [u8; 8]

Reserved for future fields (Phase 104 vtable pointer slot); must be zero.

§backend_data: *mut c_void

Opaque backend state. NULL for an uninitialised session.