lib/tls: Remove unused header definitions from source4/lib/tls/tls.h (tls socket...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jun 2019 23:48:37 +0000 (11:48 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Jun 2019 04:12:32 +0000 (04:12 +0000)
These were removed in eb15acdd35600878aba3319e070199200d9a1357 but the
header declarations were not removed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/lib/tls/tls.h

index 91eeaae6bf2081632a4931a8eece304402bb60e7..d9b18ff4d0838e680bf6fba1129205e9199c2750 100644 (file)
 
 struct loadparm_context;
 
-/*
-  call tls_initialise() once per task to startup the tls subsystem
-*/
-struct tls_params *tls_initialise(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx);
-
-/*
-  call tls_init_server() on each new server connection
-
-  the 'plain_chars' parameter is a list of chars that when they occur
-  as the first character from the client on the connection tell the
-  tls code that this is a non-tls connection. This can be used to have
-  tls and non-tls servers on the same port. If this is NULL then only
-  tls connections will be allowed
-*/
-struct socket_context *tls_init_server(struct tls_params *parms,
-                                   struct socket_context *sock, 
-                                   struct tevent_fd *fde,
-                                   const char *plain_chars);
-
 void tls_cert_generate(TALLOC_CTX *mem_ctx,
                       const char *hostname,
                       const char *keyfile, const char *certfile,
                       const char *cafile);
 
-/*
-  return True if a connection used tls
-*/
-bool tls_enabled(struct socket_context *tls);
-
-
-const struct socket_ops *socket_tls_ops(enum socket_type type);
-
 struct tstream_context;
 struct tstream_tls_params;