Changeset 745 for trunk/server/source4/lib/tls/tls.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/lib/tls/tls.h
r414 r745 66 66 const struct socket_ops *socket_tls_ops(enum socket_type type); 67 67 68 #endif 68 struct tstream_context; 69 struct tstream_tls_params; 70 71 NTSTATUS tstream_tls_params_client(TALLOC_CTX *mem_ctx, 72 const char *ca_file, 73 const char *crl_file, 74 struct tstream_tls_params **_tlsp); 75 76 NTSTATUS tstream_tls_params_server(TALLOC_CTX *mem_ctx, 77 const char *dns_host_name, 78 bool enabled, 79 const char *key_file, 80 const char *cert_file, 81 const char *ca_file, 82 const char *crl_file, 83 const char *dhp_file, 84 struct tstream_tls_params **_params); 85 86 bool tstream_tls_params_enabled(struct tstream_tls_params *params); 87 88 struct tevent_req *_tstream_tls_connect_send(TALLOC_CTX *mem_ctx, 89 struct tevent_context *ev, 90 struct tstream_context *plain_stream, 91 struct tstream_tls_params *tls_params, 92 const char *location); 93 #define tstream_tls_connect_send(mem_ctx, ev, plain_stream, tls_params); \ 94 _tstream_tls_connect_send(mem_ctx, ev, plain_stream, tls_params, __location__) 95 96 int tstream_tls_connect_recv(struct tevent_req *req, 97 int *perrno, 98 TALLOC_CTX *mem_ctx, 99 struct tstream_context **tls_stream); 100 101 struct tevent_req *_tstream_tls_accept_send(TALLOC_CTX *mem_ctx, 102 struct tevent_context *ev, 103 struct tstream_context *plain_stream, 104 struct tstream_tls_params *tls_params, 105 const char *location); 106 #define tstream_tls_accept_send(mem_ctx, ev, plain_stream, tls_params) \ 107 _tstream_tls_accept_send(mem_ctx, ev, plain_stream, tls_params, __location__) 108 109 int tstream_tls_accept_recv(struct tevent_req *req, 110 int *perrno, 111 TALLOC_CTX *mem_ctx, 112 struct tstream_context **tls_stream); 113 114 #endif /* _TLS_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.