Fix packaging issues.
authorBrian Aker <brian@tangent.org>
Tue, 19 Jun 2012 02:50:16 +0000 (22:50 -0400)
committerBrian Aker <brian@tangent.org>
Tue, 19 Jun 2012 02:50:16 +0000 (22:50 -0400)
libmemcached/include.am
libmemcached/instance.h
libmemcached/instance.hpp
libmemcached/server_list.hpp
libtest/server.cc

index 95616ddced572f481995054f09acc8bda5eb4ddf..be04712c830237245331a4881a1437a57432009a 100644 (file)
@@ -24,6 +24,8 @@ noinst_HEADERS+= libmemcached/do.hpp
 noinst_HEADERS+= libmemcached/encoding_key.h 
 noinst_HEADERS+= libmemcached/error.hpp 
 noinst_HEADERS+= libmemcached/initialize_query.h 
+noinst_HEADERS+= libmemcached/instance.h 
+noinst_HEADERS+= libmemcached/instance.hpp
 noinst_HEADERS+= libmemcached/internal.h 
 noinst_HEADERS+= libmemcached/io.h 
 noinst_HEADERS+= libmemcached/io.hpp 
@@ -52,57 +54,56 @@ libmemcached_libmemcached_la_CFLAGS= -DBUILDING_LIBMEMCACHED
 libmemcached_libmemcached_la_CXXFLAGS= -DBUILDING_LIBMEMCACHED
 
 libmemcached_libmemcached_la_SOURCES+= libmemcached/instance.cc
-libmemcached_libmemcached_la_SOURCES+= \
-                                      ${libhashkit_libhashkit_la_SOURCES} \
-                                      libmemcached/allocators.cc \
-                                      libmemcached/allocators.hpp \
-                                      libmemcached/analyze.cc \
-                                      libmemcached/array.c \
-                                      libmemcached/auto.cc \
-                                      libmemcached/backtrace.cc \
-                                      libmemcached/behavior.cc \
-                                      libmemcached/behavior.hpp \
-                                      libmemcached/byteorder.cc \
-                                      libmemcached/callback.cc \
-                                      libmemcached/connect.cc \
-                                      libmemcached/delete.cc \
-                                      libmemcached/do.cc \
-                                      libmemcached/dump.cc \
-                                      libmemcached/error.cc \
-                                      libmemcached/exist.cc \
-                                      libmemcached/fetch.cc \
-                                      libmemcached/flush.cc \
-                                      libmemcached/flush_buffers.cc \
-                                      libmemcached/get.cc \
-                                      libmemcached/hash.cc \
-                                      libmemcached/hash.hpp \
-                                      libmemcached/hosts.cc \
-                                      libmemcached/initialize_query.cc \
-                                      libmemcached/io.cc \
-                                      libmemcached/key.cc \
-                                      libmemcached/memcached.cc \
-                                      libmemcached/encoding_key.cc \
-                                      libmemcached/namespace.cc \
-                                      libmemcached/options.cc \
-                                      libmemcached/parse.cc \
-                                      libmemcached/purge.cc \
-                                      libmemcached/quit.cc \
-                                      libmemcached/quit.hpp \
-                                      libmemcached/response.cc \
-                                      libmemcached/result.cc \
-                                      libmemcached/sasl.cc \
-                                      libmemcached/server.cc \
-                                      libmemcached/server_list.cc \
-                                      libmemcached/server_list.hpp \
-                                      libmemcached/stats.cc \
-                                      libmemcached/storage.cc \
-                                      libmemcached/strerror.cc \
-                                      libmemcached/string.cc \
-                                      libmemcached/touch.cc \
-                                      libmemcached/verbosity.cc \
-                                      libmemcached/version.cc \
-                                      libmemcached/udp.cc \
-                                      libmemcached/virtual_bucket.c
+libmemcached_libmemcached_la_SOURCES+= ${libhashkit_libhashkit_la_SOURCES}
+libmemcached_libmemcached_la_SOURCES+= libmemcached/allocators.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/allocators.hpp
+libmemcached_libmemcached_la_SOURCES+= libmemcached/analyze.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/array.c
+libmemcached_libmemcached_la_SOURCES+= libmemcached/auto.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/backtrace.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/behavior.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/behavior.hpp
+libmemcached_libmemcached_la_SOURCES+= libmemcached/byteorder.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/callback.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/connect.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/delete.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/do.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/dump.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/error.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/exist.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/fetch.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/flush.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/flush_buffers.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/get.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/hash.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/hash.hpp
+libmemcached_libmemcached_la_SOURCES+= libmemcached/hosts.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/initialize_query.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/io.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/key.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/memcached.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/encoding_key.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/namespace.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/options.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/parse.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/purge.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/quit.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/quit.hpp
+libmemcached_libmemcached_la_SOURCES+= libmemcached/response.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/result.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/sasl.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/server.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/server_list.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/server_list.hpp
+libmemcached_libmemcached_la_SOURCES+= libmemcached/stats.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/storage.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/strerror.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/string.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/touch.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/verbosity.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/version.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/udp.cc
+libmemcached_libmemcached_la_SOURCES+= libmemcached/virtual_bucket.c
 
 libmemcached/options.cc: libmemcached/csl/parser.h
 
index 77388d2c8277594d61c9c08ef5493c4ed89ec813..16d509f02a6f6bd798872edb1d444018f307c3e0 100644 (file)
@@ -2,7 +2,7 @@
  * 
  *  Libmemcached library
  *
- *  Copyright (C) 2011 Data Differential, http://datadifferential.com/ 
+ *  Copyright (C) 2012 Data Differential, http://datadifferential.com/ 
  *  All rights reserved.
  *
  *  Redistribution and use in source and binary forms, with or without
index 3c9dea358f91c630d4d13afafb8f2412b5be945c..9ab3622a7be0959462dcc55d0d2c60a218f048da 100644 (file)
@@ -2,7 +2,7 @@
  * 
  *  Libmemcached library
  *
- *  Copyright (C) 2011 Data Differential, http://datadifferential.com/ 
+ *  Copyright (C) 2012 Data Differential, http://datadifferential.com/ 
  *  All rights reserved.
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -44,15 +44,18 @@ struct memcached_instance_st *__instance_create_with(memcached_st *memc,
                                                      const in_port_t port,
                                                      uint32_t weight, 
                                                      const memcached_connection_t type);
-void __instance_free(struct memcached_instance_st *);
+const char *memcached_instance_name(const memcached_server_instance_st self);
 
-memcached_server_st *memcached_instance_2_server(struct memcached_instance_st*);
+in_port_t memcached_instance_port(const memcached_server_instance_st self);
 
 memcached_return_t memcached_instance_push(memcached_st *ptr, const struct memcached_instance_st*, uint32_t);
 
-uint32_t memcached_instance_set_count(memcached_instance_st *servers, uint32_t count);
-const char *memcached_instance_name(const memcached_server_instance_st self);
-in_port_t memcached_instance_port(const memcached_server_instance_st self);
-uint32_t memcached_instance_response_count(const memcached_instance_st* self);
+memcached_server_st *memcached_instance_2_server(struct memcached_instance_st*);
+
 uint32_t memcached_instance_count(const memcached_st* self);
 
+uint32_t memcached_instance_response_count(const memcached_instance_st* self);
+
+uint32_t memcached_instance_set_count(memcached_instance_st *servers, uint32_t count);
+
+void __instance_free(struct memcached_instance_st *);
index 3f7226473f362e856f31d415cd3ff724e6fdfbc5..3dfe5fee84042ef9baf30c358e028eb1a9005955 100644 (file)
 
 #pragma once
 
+memcached_instance_st *memcached_instance_list(const memcached_st *);
 
-uint32_t memcached_servers_set_count(memcached_server_list_st servers, uint32_t count);
-uint32_t memcached_instance_set_count(memcached_instance_st* servers, uint32_t count);
+uint32_t memcached_instance_count(const memcached_instance_st*);
 
-memcached_instance_st *memcached_instance_list(const memcached_st *);
+uint32_t memcached_instance_list_count(const memcached_st*);
 
-void memcached_instance_set(memcached_st *self, memcached_instance_st* list);
+uint32_t memcached_servers_set_count(memcached_server_list_st servers, uint32_t count);
 
-void memcached_instance_list_free(memcached_instance_st* self, uint32_t);
+void memcached_instance_list_free(memcached_instance_st* self, uint32_t count);
 
-uint32_t memcached_server_list_count(const memcached_server_list_st self);
-uint32_t memcached_instance_list_count(const memcached_st*);
-uint32_t memcached_instance_count(const memcached_instance_st*);
+void memcached_instance_set(memcached_st *self, memcached_instance_st* list);
index a5d801a6fb00b4b4006973b07a309e8c3e26e2d9..68a463b889e9628536f7f1d32439ded4a9110f3b 100644 (file)
@@ -219,7 +219,6 @@ bool Server::start()
     {
       if (pid_file().empty() == false)
       {
-        Error << " here?";
         Wait wait(pid_file(), 8);
 
         if (wait.successful() == false)