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_streams_openssl_h__
8 #define INCLUDE_streams_openssl_h__
9 
10 #include "common.h"
11 
12 #include "git2/sys/stream.h"
13 
14 extern int git_openssl_stream_global_init(void);
15 
16 extern int git_openssl_stream_new(git_stream **out, const char *host, const char *port);
17 
18 extern int git_openssl__set_cert_location(const char *file, const char *path);
19 
20 #endif
21