This commit is contained in:
Paul Sajna
2018-09-01 14:00:18 +00:00
committed by jD91mZM2
parent 3dbf9f872a
commit 07eb658a8a
23 changed files with 1616 additions and 52 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
sys_includes = ["stddef.h", "stdint.h", "sys/types.h"]
include_guard = "_SYS_SOCKET_H"
style = "Tag"
style = "Both"
language = "C"
[defines]
+1
View File
@@ -14,6 +14,7 @@ pub type sa_family_t = u16;
pub type socklen_t = u32;
#[repr(C)]
#[derive(Default)]
pub struct sockaddr {
pub sa_family: sa_family_t,
data: [c_char; 14],