header/sys_un: Set sockaddr_un members to public.
Future commits will make use of this, in order to support AF_UNIX sockets.
This commit is contained in:
@@ -2,6 +2,6 @@ use crate::{header::sys_socket::sa_family_t, platform::types::*};
|
||||
|
||||
#[repr(C)]
|
||||
pub struct sockaddr_un {
|
||||
sun_family: sa_family_t,
|
||||
sun_path: [c_char; 108],
|
||||
pub sun_family: sa_family_t,
|
||||
pub sun_path: [c_char; 108],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user