X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcallback.h;h=3949ea3def7a5cb1027d38dcbb2e24e4502cde70;hb=450a9f280cd5d5b83da7561ff0362854f5c8b204;hp=816e966b935553d3bbad81e3fad364d1f19d16cf;hpb=f0cc25810bfd089de866bd0d1e35c3157e86a930;p=m6w6%2Flibmemcached diff --git a/libmemcached/callback.h b/libmemcached/callback.h index 816e966b..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, - 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 *);