X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_constants.h;h=1705bb6e57883ed71f0972b6e015faa68e81051a;hb=d20cee857309bed42aaacf8486c440349a579a3c;hp=5d0e31d0c3f352aa0d45f5d29b67bbd4e4503381;hpb=ef9ddf55563059fcf3608bab479e15f28e9ceb0f;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached_constants.h b/libmemcached/memcached_constants.h index 5d0e31d0..1705bb6e 100644 --- a/libmemcached/memcached_constants.h +++ b/libmemcached/memcached_constants.h @@ -9,10 +9,6 @@ #ifndef __MEMCACHED_CONSTANTS_H__ #define __MEMCACHED_CONSTANTS_H__ -#ifdef __cplusplus -extern "C" { -#endif - /* Public defines */ #define MEMCACHED_DEFAULT_PORT 11211 #define MEMCACHED_MAX_KEY 251 /* We add one to have it null terminated */ @@ -66,6 +62,7 @@ typedef enum { MEMCACHED_INVALID_HOST_PROTOCOL, MEMCACHED_SERVER_MARKED_DEAD, MEMCACHED_UNKNOWN_STAT_KEY, + MEMCACHED_E2BIG, MEMCACHED_MAXIMUM_RETURN /* Always add new error code before */ } memcached_return; @@ -143,8 +140,4 @@ typedef enum { MEMCACHED_CONNECTION_UNIX_SOCKET } memcached_connection; -#ifdef __cplusplus -} -#endif - #endif /* __MEMCACHED_CONSTANTS_H__ */