summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-06-16 02:17:49 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-06-26 20:43:44 +0200
commitfd6790210f646a61c750058261d29f6a68485e67 (patch)
tree8e364cf2fd46bb9280f596155869081b82ea626e /include/git2
parentcbf742ac4e7daccae10fd60d0651242c49663bd3 (diff)
downloadlibgit2-fd6790210f646a61c750058261d29f6a68485e67.tar.gz
Move git_pkt_{gen_proto,send_request} to transport_git.c
This is where they really belong. Remvoe the prefix and make them static. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/pkt.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/git2/pkt.h b/include/git2/pkt.h
index bcd5c81d1..59826da8a 100644
--- a/include/git2/pkt.h
+++ b/include/git2/pkt.h
@@ -51,10 +51,5 @@ struct git_pkt_ref {
char *capabilities;
};
-/**
- * Create a git protocol request.
- */
-int git_pkt_gen_proto(char **out, int *outlen, const char *cmd, const char *url);
-int git_pkt_send_request(int socket, const char *cmd, const char *url);
int git_pkt_parse_line(git_pkt **head, const char *line, const char **out, size_t len);
void git_pkt_free(git_pkt *pkt);