remote.h 531 Bytes
Newer Older
Vicent Marti committed
1
/*
schu committed
2
 * Copyright (C) 2009-2012 the libgit2 contributors
Vicent Marti committed
3 4 5 6
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
Carlos Martín Nieto committed
7 8 9 10
#ifndef INCLUDE_remote_h__
#define INCLUDE_remote_h__

#include "refspec.h"
11
#include "transport.h"
12
#include "repository.h"
Carlos Martín Nieto committed
13 14 15 16

struct git_remote {
	char *name;
	char *url;
17
	git_vector refs;
Carlos Martín Nieto committed
18 19
	struct git_refspec fetch;
	struct git_refspec push;
20
	git_transport *transport;
21
	git_repository *repo;
22
	unsigned int need_pack:1;
Carlos Martín Nieto committed
23 24 25
};

#endif