diff options
| author | Vicent Martà <tanoku@gmail.com> | 2011-09-22 10:17:43 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2011-09-22 10:17:43 -0700 |
| commit | 8114ee4c950d035388f1191081fbe77d9a9f3017 (patch) | |
| tree | a1cfd43c33d8c8d56bf23d91f24bd5bb9840f24e /src/pkt.h | |
| parent | e1b86444676b70154bf8ab450d429bdef57a8276 (diff) | |
| parent | 4ee8418a0877d1c2f48459bb266342b127fc7d87 (diff) | |
| download | libgit2-8114ee4c950d035388f1191081fbe77d9a9f3017.tar.gz | |
Merge pull request #405 from carlosmn/http-ls
Implement ls-remote over HTTP
Diffstat (limited to 'src/pkt.h')
| -rw-r--r-- | src/pkt.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,7 @@ enum git_pkt_type { GIT_PKT_ACK, GIT_PKT_NAK, GIT_PKT_PACK, + GIT_PKT_COMMENT, }; /* Used for multi-ack */ @@ -56,6 +57,11 @@ typedef struct { enum git_ack_status status; } git_pkt_ack; +typedef struct { + enum git_pkt_type type; + char comment[GIT_FLEX_ARRAY]; +} git_pkt_comment; + int git_pkt_parse_line(git_pkt **head, const char *line, const char **out, size_t len); int git_pkt_send_flush(int s); int git_pkt_send_done(int s); |
