]>
git.proxmox.com Git - libgit2.git/blob - src/streams/mbedtls.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
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.
7 #ifndef INCLUDE_steams_mbedtls_h__
8 #define INCLUDE_steams_mbedtls_h__
12 #include "git2/sys/stream.h"
14 extern int git_mbedtls_stream_global_init(void);
17 extern int git_mbedtls__set_cert_location(const char *file
, const char *path
);
19 extern int git_mbedtls_stream_new(git_stream
**out
, const char *host
, const char *port
);
20 extern int git_mbedtls_stream_wrap(git_stream
**out
, git_stream
*in
, const char *host
);