Revision 5f3adef4 rep/repoclient_impl.h
rep/repoclient_impl.h | ||
---|---|---|
27 | 27 |
|
28 | 28 |
#define REPOSERVER_MAGIC 0xAABB |
29 | 29 |
#define PUBLISH_BUFFER_SIZE 1024 |
30 |
#define SB_INCREMENT 512 |
|
31 | 30 |
|
32 | 31 |
/** Struct maintaining streambuffer data. Used internally */ |
33 | 32 |
struct streambuffer { |
34 |
#if !WIN32 && !MAC_OS |
|
35 | 33 |
FILE *stream; |
36 |
#else |
|
37 |
size_t buffsize; |
|
38 |
#endif |
|
39 | 34 |
char *buffer; |
40 | 35 |
size_t len; |
41 | 36 |
}; |
Also available in: Unified diff