libmemcached_libmemcachedprotocol_la_LDFLAGS= ${AM_LDFLAGS} -version-info 0:0:0
-noinst_LTLIBRARIES+= libmemcached/libmemcachedcallbacks.la
+noinst_LTLIBRARIES+= \
+ libmemcached/libmemcachedcallbacks.la
+
libmemcached_libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING}
libmemcached_libmemcachedcallbacks_la_SOURCES = libmemcached/callback.c
+# This noinst lib contains things we want to be ABI private but still want to
+# either use in client programs or be able to test in test cases
+# These symbols will not be exposed in the shipped .so
+noinst_LTLIBRARIES+= \
+ libmemcached/libmemcachedinternal.la
+libmemcached_libmemcachedinternal_la_SOURCES = libmemcached/string.c
+
lib_LTLIBRARIES+= libmemcached/libmemcached.la
libmemcached_libmemcached_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION}
libmemcached_libmemcached_la_SOURCES = \
libmemcached/stats.c \
libmemcached/storage.c \
libmemcached/strerror.c \
- libmemcached/string.c \
libmemcached/verbosity.c \
libmemcached/version.c
libmemcached_libmemcached_la_SOURCES += libmemcached/hsieh_hash.c
endif
-libmemcached_libmemcached_la_DEPENDENCIES= libmemcached/libmemcachedcallbacks.la
-libmemcached_libmemcached_la_LIBADD= $(LIBM) libmemcached/libmemcachedcallbacks.la
+libmemcached_libmemcached_la_DEPENDENCIES= libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la
+libmemcached_libmemcached_la_LIBADD= $(LIBM) libmemcached/libmemcachedcallbacks.la libmemcached/libmemcachedinternal.la
libmemcached_libmemcached_la_LDFLAGS= ${AM_LDFLAGS} -version-info 3:0:0
if BUILD_LIBMEMCACHEDUTIL
extern "C" {
#endif
+LIBMEMCACHED_LOCAL
struct memcached_string_st {
memcached_st *root;
char *end;
#define memcached_string_size(A) (A)->current_size
#define memcached_string_value(A) (A)->string
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
memcached_string_st *memcached_string_create(memcached_st *ptr,
memcached_string_st *string,
size_t initial_size);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
memcached_return_t memcached_string_check(memcached_string_st *string, size_t need);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
char *memcached_string_c_copy(memcached_string_st *string);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
memcached_return_t memcached_string_append_character(memcached_string_st *string,
char character);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
memcached_return_t memcached_string_append(memcached_string_st *string,
const char *value, size_t length);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
memcached_return_t memcached_string_reset(memcached_string_st *string);
-LIBMEMCACHED_API
+LIBMEMCACHED_LOCAL
void memcached_string_free(memcached_string_st *string);
#ifdef __cplusplus