projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix Trond's email address.
[m6w6/libmemcached]
/
libmemcached
/
callback.c
diff --git
a/libmemcached/callback.c
b/libmemcached/callback.c
index e87d775cf908b5dc86d6ca1a7261843866eceaae..252b4334e66166b2985def805da973457a5b9ed3 100644
(file)
--- a/
libmemcached/callback.c
+++ b/
libmemcached/callback.c
@@
-9,17
+9,17
@@
*
*/
*
*/
-#include "common.h"
+#include "common.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
-/*
+/*
These functions provide data and function callback support
*/
These functions provide data and function callback support
*/
-memcached_return_t memcached_callback_set(memcached_st *ptr,
- const memcached_callback_t flag,
+memcached_return_t memcached_callback_set(memcached_st *ptr,
+ const memcached_callback_t flag,
void *data)
{
switch (flag)
void *data)
{
switch (flag)
@@
-113,7
+113,7
@@
memcached_return_t memcached_callback_set(memcached_st *ptr,
return MEMCACHED_SUCCESS;
}
return MEMCACHED_SUCCESS;
}
-void *memcached_callback_get(memcached_st *ptr,
+void *memcached_callback_get(memcached_st *ptr,
const memcached_callback_t flag,
memcached_return_t *error)
{
const memcached_callback_t flag,
memcached_return_t *error)
{