Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/lib/tls/tls.h

    r414 r745  
    6666const struct socket_ops *socket_tls_ops(enum socket_type type);
    6767
    68 #endif
     68struct tstream_context;
     69struct tstream_tls_params;
     70
     71NTSTATUS 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
     76NTSTATUS 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
     86bool tstream_tls_params_enabled(struct tstream_tls_params *params);
     87
     88struct 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
     96int tstream_tls_connect_recv(struct tevent_req *req,
     97                             int *perrno,
     98                             TALLOC_CTX *mem_ctx,
     99                             struct tstream_context **tls_stream);
     100
     101struct 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
     109int 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.