aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2017-07-15 11:13:27 +0200
committerMarc Schink <swo-dev@marcschink.de>2017-07-15 19:04:55 +0200
commit70eb1f47cec96a768bf5645d6672b4dc9edb84e6 (patch)
tree1dac4a4db11cf2e61cc9f46cd4c7d097f7b1c472
parent80c86c8ee531a88ec0a72221287a9794d2c721e9 (diff)
Add LIBSWO_DEFAULT_BUFFER_SIZE
-rw-r--r--libswo/libswo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libswo/libswo.h b/libswo/libswo.h
index 051c9d1..3488f60 100644
--- a/libswo/libswo.h
+++ b/libswo/libswo.h
@@ -517,6 +517,9 @@ typedef int (*libswo_log_callback)(struct libswo_context *ctx,
enum libswo_log_level level, const char *format,
va_list args, void *user_data);
+/** Default buffer size in bytes. */
+#define LIBSWO_DEFAULT_BUFFER_SIZE 2048
+
/** Macro to mark private libswo symbol. */
#if defined(_WIN32) || defined(__MSYS__) || defined(__CYGWIN__)
#define LIBSWO_PRIV