Large reorganization of headers (WIP)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
sys_includes = ["sys/socket.h"]
|
||||
include_guard = "_SYS_UN_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
|
||||
[export]
|
||||
include = ["sockaddr_un"]
|
||||
|
||||
[enum]
|
||||
prefix_with_name = true
|
||||
@@ -0,0 +1,11 @@
|
||||
#![no_std]
|
||||
|
||||
use header::sys_socket::sa_family_t;
|
||||
use platform;
|
||||
use platform::types::*;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct sockaddr_un {
|
||||
sun_family: sa_family_t,
|
||||
sun_path: [c_char; 108],
|
||||
}
|
||||
Reference in New Issue
Block a user