diff options
| author | J Wyman <jeremy.wyman@microsoft.com> | 2015-05-11 10:19:25 -0700 |
|---|---|---|
| committer | J Wyman <jeremy.wyman@microsoft.com> | 2015-05-11 10:32:08 -0700 |
| commit | 7dd2253826a027c05f5562a70f21ae396ea38c6f (patch) | |
| tree | 15e800c3debb985affddeb7f9652a371559016ed /src/common.h | |
| parent | 9cdd657887d5fc7cf5a5819e60900d67513ca1ff (diff) | |
| download | libgit2-7dd2253826a027c05f5562a70f21ae396ea38c6f.tar.gz | |
centralizing all IO buffer size values
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index cdfc13657..cdb0b514d 100644 --- a/src/common.h +++ b/src/common.h @@ -68,6 +68,11 @@ #include <regex.h> +#define DEFAULT_BUFSIZE 65536 +#define FILEIO_BUFSIZE DEFAULT_BUFSIZE +#define FILTERIO_BUFSIZE DEFAULT_BUFSIZE +#define NETIO_BUFSIZE DEFAULT_BUFSIZE + /** * Check a pointer allocation result, returning -1 if it failed. */ |
