+ * Updated docs for uint16_t changes in previous release
+
0.13 Sun Jan 13 06:51:50 PST 2008
* MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
* Fix for failure to connect to invalidate socket.
#release versioning
MEMCACHED_MAJOR_VERSION=0
-MEMCACHED_MINOR_VERSION=13
+MEMCACHED_MINOR_VERSION=14
MEMCACHED_MICRO_VERSION=0
#API version
{
rc= memcached_set(memc, key, strlen(key),
value, value_length,
- (time_t)0, (uint16_t)0);
+ (time_t)0, (uint32_t)0);
assert(rc == MEMCACHED_SUCCESS);
}
char *keys[]= {"fudge", "son", "food"};
size_t key_length[]= {5, 3, 4};
unsigned int x;
- uint16_t flags;
+ uint32_t flags;
char return_key[MEMCACHED_MAX_KEY];
size_t return_key_length;
char *memcached_get (memcached_st *ptr,
char *key, size_t key_length,
size_t *value_length,
- uint16_t *flags,
+ uint32_t *flags,
memcached_return *error);
memcached_return
char *master_key, size_t master_key_length,
char *key, size_t key_length,
size_t *value_length,
- uint16_t *flags,
+ uint32_t *flags,
memcached_return *error);
memcached_return
char *memcached_fetch (memcached_st *ptr,
char *key, size_t *key_length,
size_t *value_length,
- uint16_t *flags,
+ uint32_t *flags,
memcached_return *error);
memcached_return
memcached_fetch_execute(memcached_st *ptr,
unsigned int (*callback[])(memcached_st *ptr, memcached_result_st *result, void *context),
void *context,
- unsigned int number_of_callbacks
- )
+ unsigned int number_of_callbacks);
=head1 DESCRIPTION
memcached_get() is used to fetch an individual value from the server. You
must pass in a key and its length to fetch the object. You must supply
three pointer variables which will give you the state of the returned
-object. A uint16_t pointer to contain whatever flags you stored with the value,
+object. A uint32_t pointer to contain whatever flags you stored with the value,
a size_t pointer which will be filled with size of of the object, and a
memcached_return pointer to hold any error. The object will be returned
upon success and NULL will be returned on failure.
memcached_mget() must always be called before using this method. You
must pass in a key and its length to fetch the object. You must supply
three pointer variables which will give you the state of the returned
-object. A uint16_t pointer to contain whatever flags you stored with the value,
+object. A uint32_t pointer to contain whatever flags you stored with the value,
a size_t pointer which will be filled with size of of the object, and a
memcached_return pointer to hold any error. The object will be returned
upon success and NULL will be returned on failure.
size_t memcached_result_length(memcached_result_st *ptr);
- uint16_t memcached_result_flags(memcached_result_st *result)
+ uint32_t memcached_result_flags(memcached_result_st *result)
uint64_t memcached_result_cas(memcached_result_st *result);
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_add (memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_replace (memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_prepend(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags)
+ uint32_t flags)
memcached_return
memcached_append(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags)
+ uint32_t flags)
memcached_return
memcached_cas(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags,
+ uint32_t flags,
uint64_t cas);
memcached_return
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_add_by_key(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_replace_by_key(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_prepend_by_key(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_append_by_key(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags);
+ uint32_t flags);
memcached_return
memcached_cas_by_key(memcached_st *ptr,
char *key, size_t key_length,
char *value, size_t value_length,
time_t expiration,
- uint16_t flags,
+ uint32_t flags,
uint64_t cas);
=head1 DESCRIPTION