File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " nng-c-sys"
3
- version = " 1.8.0-beta.6 "
3
+ version = " 1.8.0-beta.7 "
4
4
authors = [
" Douman <[email protected] >" ]
5
5
edition = " 2018"
6
6
keywords = [" nng" , " nanomsg" ]
Original file line number Diff line number Diff line change @@ -64,6 +64,15 @@ pub const NNG_OPT_REQ_RESENDTICK: &[u8] = b\"req:resend-tick\0\";
64
64
65
65
pub const NNG_OPT_SURVEYOR_SURVEYTIME: &[u8] = b\" surveyor:survey-time\0 \" ;
66
66
67
+ pub const NNG_OPT_TLS_AUTH_MODE: &[u8] = b\" tls-authmode\0 \" ;
68
+ pub const NNG_OPT_TLS_CA_FILE: &[u8] = b\" tls-ca-file\0 \" ;
69
+ pub const NNG_OPT_TLS_CERT_KEY_FILE: &[u8] = b\" tls-cert-key-file\0 \" ;
70
+ pub const NNG_OPT_TLS_CONFIG: &[u8] = b\" tls-config\0 \" ;
71
+ pub const NNG_OPT_TLS_SERVER_NAME: &[u8] = b\" tls-server-name\0 \" ;
72
+ pub const NNG_OPT_TLS_VERIFIED: &[u8] = b\" tls-verified\0 \" ;
73
+ pub const NNG_OPT_TLS_PEER_CN: &[u8] = b\" tls-peer-cn\0 \" ;
74
+ pub const NNG_OPT_TLS_PEER_ALT_NAMES: &[u8] = b\" tls-peer-alt-names\0 \" ;
75
+
67
76
pub const NNG_FLAG_ALLOC: core::ffi::c_int = 1;
68
77
pub const NNG_FLAG_NONBLOCK: core::ffi::c_int = 2;
69
78
" ;
Original file line number Diff line number Diff line change @@ -41,6 +41,15 @@ pub const NNG_OPT_REQ_RESENDTICK: &[u8] = b"req:resend-tick\0";
41
41
42
42
pub const NNG_OPT_SURVEYOR_SURVEYTIME : & [ u8 ] = b"surveyor:survey-time\0 " ;
43
43
44
+ pub const NNG_OPT_TLS_AUTH_MODE : & [ u8 ] = b"tls-authmode\0 " ;
45
+ pub const NNG_OPT_TLS_CA_FILE : & [ u8 ] = b"tls-ca-file\0 " ;
46
+ pub const NNG_OPT_TLS_CERT_KEY_FILE : & [ u8 ] = b"tls-cert-key-file\0 " ;
47
+ pub const NNG_OPT_TLS_CONFIG : & [ u8 ] = b"tls-config\0 " ;
48
+ pub const NNG_OPT_TLS_SERVER_NAME : & [ u8 ] = b"tls-server-name\0 " ;
49
+ pub const NNG_OPT_TLS_VERIFIED : & [ u8 ] = b"tls-verified\0 " ;
50
+ pub const NNG_OPT_TLS_PEER_CN : & [ u8 ] = b"tls-peer-cn\0 " ;
51
+ pub const NNG_OPT_TLS_PEER_ALT_NAMES : & [ u8 ] = b"tls-peer-alt-names\0 " ;
52
+
44
53
pub const NNG_FLAG_ALLOC : core:: ffi:: c_int = 1 ;
45
54
pub const NNG_FLAG_NONBLOCK : core:: ffi:: c_int = 2 ;
46
55
You can’t perform that action at this time.
0 commit comments