X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=transport.h;h=efb19688692b5f1be4fc085cc36d737ace2df417;hb=fa38cfc2c6ce197960f85798aac18ee78aa83f1f;hp=c59d97388e6fdb1dccd4dca0d41dccc3d129f8fb;hpb=267684f0b7428583ba88c4acc0e9ef322a36b3ff;p=thirdparty%2Fgit.git diff --git a/transport.h b/transport.h index c59d97388e..efb1968869 100644 --- a/transport.h +++ b/transport.h @@ -154,6 +154,7 @@ int transport_connect(struct transport *transport, const char *name, /* Transport methods defined outside transport.c */ int transport_helper_init(struct transport *transport, const char *name); +int bidirectional_transfer_loop(int input, int output); /* common methods used by transport.c and builtin-send-pack.c */ void transport_verify_remote_names(int nr_heads, const char **heads); @@ -165,4 +166,7 @@ int transport_refs_pushed(struct ref *ref); void transport_print_push_status(const char *dest, struct ref *refs, int verbose, int porcelain, int *nonfastforward); +typedef void alternate_ref_fn(const struct ref *, void *); +extern int refs_from_alternate_cb(struct alternate_object_database *e, void *cb); + #endif