libgit2/src/remote.h
Vicent Marti d88d4311c7 remote: Cleanup the remotes code
- Hide the remaining transports code
- Drop `git_headarray`, switch to using a callback to list refs. Makes
the code cleaner.
2011-11-28 08:40:40 +01:00

26 lines
531 B
C

/*
* Copyright (C) 2009-2011 the libgit2 contributors
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_remote_h__
#define INCLUDE_remote_h__
#include "refspec.h"
#include "transport.h"
#include "repository.h"
struct git_remote {
char *name;
char *url;
git_vector refs;
struct git_refspec fetch;
struct git_refspec push;
git_transport *transport;
git_repository *repo;
unsigned int need_pack:1;
};
#endif