diff options
Diffstat (limited to 'src/pkt.h')
| -rw-r--r-- | src/pkt.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -24,6 +24,8 @@ enum git_pkt_type { GIT_PKT_PACK, GIT_PKT_COMMENT, GIT_PKT_ERR, + GIT_PKT_DATA, + GIT_PKT_PROGRESS, }; /* Used for multi-ack */ @@ -67,6 +69,14 @@ typedef struct { typedef struct { enum git_pkt_type type; + int len; + char data[GIT_FLEX_ARRAY]; +} git_pkt_data; + +typedef git_pkt_data git_pkt_progress; + +typedef struct { + enum git_pkt_type type; char error[GIT_FLEX_ARRAY]; } git_pkt_err; |
