]> git.proxmox.com Git - libgit2.git/blob - src/tls_stream.h
Include stacktrace summary in memory leak output.
[libgit2.git] / src / tls_stream.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
7 #ifndef INCLUDE_tls_stream_h__
8 #define INCLUDE_tls_stream_h__
9
10 #include "git2/sys/stream.h"
11
12 /**
13 * Create a TLS stream with the most appropriate backend available for
14 * the current platform.
15 *
16 * This allows us to ask for a SecureTransport or OpenSSL stream
17 * according to being on general Unix vs OS X.
18 */
19 extern int git_tls_stream_new(git_stream **out, const char *host, const char *port);
20
21 #endif