]> git.proxmox.com Git - libgit2.git/blame - src/streams/stransport.h
New upstream version 1.4.3+dfsg.1
[libgit2.git] / src / streams / stransport.h
CommitLineData
6bb54cbf
CMN
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 */
eae0bfdc
PP
7#ifndef INCLUDE_streams_stransport_h__
8#define INCLUDE_streams_stransport_h__
9
10#include "common.h"
6bb54cbf
CMN
11
12#include "git2/sys/stream.h"
13
ac3d33df
JK
14#ifdef GIT_SECURE_TRANSPORT
15
6bb54cbf 16extern int git_stransport_stream_new(git_stream **out, const char *host, const char *port);
ac3d33df
JK
17extern int git_stransport_stream_wrap(git_stream **out, git_stream *in, const char *host);
18
19#endif
6bb54cbf
CMN
20
21#endif