summaryrefslogtreecommitdiff
path: root/libmemcached/callback.h
diff options
context:
space:
mode:
authorBrian Aker <brian@gir.tangent.org>2009-12-16 15:01:10 -0800
committerBrian Aker <brian@gir.tangent.org>2009-12-16 15:01:10 -0800
commit7c7750f02368b570353ea109f23a0ea26d226e02 (patch)
tree16722d8c54a5e2eadc62a3e02dae04f4052dffc0 /libmemcached/callback.h
parentfa11f4a5d1a9c92eda13f8a5aa11dcff542b8815 (diff)
downloadlibmemcached-7c7750f02368b570353ea109f23a0ea26d226e02.tar.gz
Mass rename to simplify names.
Do you know how many times I get annoyed on a daily basis that I can't use tabs on the command line? Yeah... should have done this a while ago.
Diffstat (limited to 'libmemcached/callback.h')
-rw-r--r--libmemcached/callback.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/libmemcached/callback.h b/libmemcached/callback.h
new file mode 100644
index 00000000..0719a66f
--- /dev/null
+++ b/libmemcached/callback.h
@@ -0,0 +1,32 @@
+/* LibMemcached
+ * Copyright (C) 2006-2009 Brian Aker
+ * All rights reserved.
+ *
+ * Use and distribution licensed under the BSD license. See
+ * the COPYING file in the parent directory for full text.
+ *
+ * Summary: Change any of the possible callbacks.
+ *
+ */
+
+#ifndef __MEMCACHED_CALLBACK_H__
+#define __MEMCACHED_CALLBACK_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+LIBMEMCACHED_API
+memcached_return_t memcached_callback_set(memcached_st *ptr,
+ memcached_callback_t flag,
+ void *data);
+LIBMEMCACHED_API
+void *memcached_callback_get(memcached_st *ptr,
+ memcached_callback_t flag,
+ memcached_return_t *error);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __MEMCACHED_CALLBACK_H__ */