X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcallback.h;h=3949ea3def7a5cb1027d38dcbb2e24e4502cde70;hb=168937e6c8d09d126458a4b698ce46f6e9560cf2;hp=a9465d2e3e2061e9438860904cf5769d4ba8b1bc;hpb=04b8554c3724eae57fbd75dc6b3e69dca8b58187;p=awesomized%2Flibmemcached diff --git a/libmemcached/callback.h b/libmemcached/callback.h index a9465d2e..3949ea3d 100644 --- a/libmemcached/callback.h +++ b/libmemcached/callback.h @@ -1,9 +1,9 @@ /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * - * Libmemcached library + * Libmemcached Client and Server * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ - * Copyright (C) 2006-2009 Brian Aker All rights reserved. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -37,25 +37,6 @@ #pragma once -struct memcached_callback_st { - memcached_execute_fn *callback; - void *context; - uint32_t number_of_callback; -}; +test_return_t test_MEMCACHED_CALLBACK_DELETE_TRIGGER(memcached_st *); -#ifdef __cplusplus -extern "C" { -#endif - -LIBMEMCACHED_API -memcached_return_t memcached_callback_set(memcached_st *ptr, - const memcached_callback_t flag, - const void *data); -LIBMEMCACHED_API -void *memcached_callback_get(memcached_st *ptr, - const memcached_callback_t flag, - memcached_return_t *error); - -#ifdef __cplusplus -} -#endif +test_return_t test_MEMCACHED_CALLBACK_DELETE_TRIGGER_and_MEMCACHED_BEHAVIOR_NOREPLY(memcached_st *);