]> git.proxmox.com Git - libgit2.git/blame - src/libgit2/streams/socket.h
Merge https://salsa.debian.org/debian/libgit2 into proxmox/bullseye
[libgit2.git] / src / libgit2 / streams / socket.h
CommitLineData
468d7b11
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_socket_h__
8#define INCLUDE_streams_socket_h__
9
10#include "common.h"
468d7b11
CMN
11
12#include "netops.h"
13
14typedef struct {
15 git_stream parent;
16 char *host;
17 char *port;
18 GIT_SOCKET s;
19} git_socket_stream;
20
21extern int git_socket_stream_new(git_stream **out, const char *host, const char *port);
22
23#endif