From: Date: Sun, 13 Jan 2008 23:41:50 +0000 (-0500) Subject: Made clear HUGE and SMALL should not be used. X-Git-Tag: 0.14~17 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=899f5dd6c42feb31737f0242fb2abb51436bb712;p=awesomized%2Flibmemcached Made clear HUGE and SMALL should not be used. --- diff --git a/include/memcached.h b/include/memcached.h index d73a16be..bff81a61 100644 --- a/include/memcached.h +++ b/include/memcached.h @@ -25,11 +25,13 @@ typedef struct memcached_result_st memcached_result_st; typedef struct memcached_string_st memcached_string_st; typedef struct memcached_server_st memcached_server_st; +/* These are Private and should not be used by applications */ +#define SMALL_STRING_LEN 1024 +#define HUGE_STRING_LEN 8196 + #define MEMCACHED_VERSION_STRING 12 #define MEMCACHED_DEFAULT_PORT 11211 #define MEMCACHED_DEFAULT_COMMAND_SIZE 350 -#define SMALL_STRING_LEN 1024 -#define HUGE_STRING_LEN 8196 #define MEMCACHED_MAX_KEY 251 /* We add one to have it null terminated */ #define MEMCACHED_MAX_BUFFER HUGE_STRING_LEN #define MEMCACHED_MAX_HOST_LENGTH 64