defaults.h | defaults.h | |||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
* | * | |||
*/ | */ | |||
#pragma once | #pragma once | |||
/* Public defines */ | /* Public defines */ | |||
#define MEMCACHED_DEFAULT_PORT 11211 | #define MEMCACHED_DEFAULT_PORT 11211 | |||
#define MEMCACHED_DEFAULT_PORT_STRING "11211" | ||||
#define MEMCACHED_POINTS_PER_SERVER 100 | #define MEMCACHED_POINTS_PER_SERVER 100 | |||
#define MEMCACHED_POINTS_PER_SERVER_KETAMA 160 | #define MEMCACHED_POINTS_PER_SERVER_KETAMA 160 | |||
#define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This wo uld then set max hosts to 100 */ | #define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This wo uld then set max hosts to 100 */ | |||
#define MEMCACHED_STRIDE 4 | #define MEMCACHED_STRIDE 4 | |||
#define MEMCACHED_DEFAULT_TIMEOUT 5000 | #define MEMCACHED_DEFAULT_TIMEOUT 5000 | |||
#define MEMCACHED_DEFAULT_CONNECT_TIMEOUT 4000 | #define MEMCACHED_DEFAULT_CONNECT_TIMEOUT 4000 | |||
#define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should b uild for in the continuum */ | #define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should b uild for in the continuum */ | |||
#define MEMCACHED_EXPIRATION_NOT_ADD 0xffffffffU | #define MEMCACHED_EXPIRATION_NOT_ADD 0xffffffffU | |||
#define MEMCACHED_SERVER_FAILURE_LIMIT 5 | #define MEMCACHED_SERVER_FAILURE_LIMIT 5 | |||
#define MEMCACHED_SERVER_FAILURE_RETRY_TIMEOUT 2 | #define MEMCACHED_SERVER_FAILURE_RETRY_TIMEOUT 2 | |||
#define MEMCACHED_SERVER_FAILURE_DEAD_TIMEOUT 0 | #define MEMCACHED_SERVER_FAILURE_DEAD_TIMEOUT 0 | |||
#define MEMCACHED_SERVER_TIMEOUT_LIMIT 0 | ||||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
deprecated_types.h | deprecated_types.h | |||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
typedef memcached_callback_t memcached_callback; | typedef memcached_callback_t memcached_callback; | |||
typedef memcached_hash_t memcached_hash; | typedef memcached_hash_t memcached_hash; | |||
typedef memcached_connection_t memcached_connection; | typedef memcached_connection_t memcached_connection; | |||
typedef memcached_clone_fn memcached_clone_func; | typedef memcached_clone_fn memcached_clone_func; | |||
typedef memcached_cleanup_fn memcached_cleanup_func; | typedef memcached_cleanup_fn memcached_cleanup_func; | |||
typedef memcached_execute_fn memcached_execute_function; | typedef memcached_execute_fn memcached_execute_function; | |||
typedef memcached_server_fn memcached_server_function; | typedef memcached_server_fn memcached_server_function; | |||
typedef memcached_trigger_key_fn memcached_trigger_key; | typedef memcached_trigger_key_fn memcached_trigger_key; | |||
typedef memcached_trigger_delete_key_fn memcached_trigger_delete_key; | typedef memcached_trigger_delete_key_fn memcached_trigger_delete_key; | |||
typedef memcached_dump_fn memcached_dump_func; | typedef memcached_dump_fn memcached_dump_func; | |||
typedef memcached_instance_st *memcached_server_instance_st; | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||
server.h | server.h | |||
---|---|---|---|---|
skipping to change at line 105 | skipping to change at line 105 | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
uint32_t memcached_server_response_count(const memcached_instance_st * self ); | uint32_t memcached_server_response_count(const memcached_instance_st * self ); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_server_name(const memcached_instance_st * self); | const char *memcached_server_name(const memcached_instance_st * self); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
in_port_t memcached_server_port(const memcached_instance_st * self); | in_port_t memcached_server_port(const memcached_instance_st * self); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
in_port_t memcached_server_srcport(const memcached_instance_st * self); | ||||
LIBMEMCACHED_API | ||||
void memcached_instance_next_retry(const memcached_instance_st * self, cons t time_t absolute_time); | void memcached_instance_next_retry(const memcached_instance_st * self, cons t time_t absolute_time); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_server_type(const memcached_instance_st * ptr); | const char *memcached_server_type(const memcached_instance_st * ptr); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
uint8_t memcached_server_major_version(const memcached_instance_st * ptr); | uint8_t memcached_server_major_version(const memcached_instance_st * ptr); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
uint8_t memcached_server_minor_version(const memcached_instance_st * ptr); | uint8_t memcached_server_minor_version(const memcached_instance_st * ptr); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||