summaryrefslogtreecommitdiff
path: root/src/netops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netops.h')
-rw-r--r--src/netops.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/netops.h b/src/netops.h
index 4976f87f8..e2c2b8171 100644
--- a/src/netops.h
+++ b/src/netops.h
@@ -8,10 +8,9 @@
#define INCLUDE_netops_h__
#include "posix.h"
-#include "transport.h"
#include "common.h"
-typedef struct gitno_buffer {
+struct gitno_buffer {
char *data;
size_t len;
size_t offset;
@@ -19,7 +18,7 @@ typedef struct gitno_buffer {
#ifdef GIT_SSL
struct gitno_ssl *ssl;
#endif
-} gitno_buffer;
+};
void gitno_buffer_setup(git_transport *t, gitno_buffer *buf, char *data, unsigned int len);
int gitno_recv(gitno_buffer *buf);