1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-30 20:46:11 +02:00
git/rsh.h
Daniel Barkalow 6eb7ed5403 [PATCH] Various transport programs
This patch adds three similar and related programs. http-pull downloads
objects from an HTTP server; rpull downloads objects by using ssh and
rpush on the other side; and rpush uploads objects by using ssh and rpull
on the other side.

The algorithm should be sufficient to make the network throughput required
depend only on how much content is new, not at all on how much content the
repository contains.

The combination should enable people to have remote repositories by way of
ssh login for authenticated users and HTTP for anonymous access.

Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-23 18:47:23 -07:00

8 lines
153 B
C

#ifndef RSH_H
#define RSH_H
int setup_connection(int *fd_in, int *fd_out, char *remote_prog,
char *url, int rmt_argc, char **rmt_argv);
#endif