~mordred/libmemcached/merge-vs-work

« back to all changes in this revision

Viewing changes to libmemcached/protocol/callback.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 18:47:03 UTC
  • Revision ID: mordred@inaugust.com-20110213184703-usxdc2h4do3bnxhx
Build for Visual Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#ifndef LIBMEMCACHEDPROTOCOL_CALLBACK_H
9
9
#define LIBMEMCACHEDPROTOCOL_CALLBACK_H
10
10
 
 
11
/*
 
12
 * One of the Windows headers define interface as a macro, but that
 
13
 * is causing problems with the member named "interface" in some of the
 
14
 * structs.
 
15
 * @TODO: Really need to replace interface in the def with iface or something.
 
16
 */
 
17
#ifdef TARGET_OS_WINDOWS
 
18
# undef interface
 
19
#endif
 
20
 
11
21
/**
12
22
 * Callback to send data back from a successful GET/GETQ/GETK/GETKQ command
13
23
 *
172
182
    * @param len the length of the key
173
183
    * @param cas the CAS in the request
174
184
    */
175
 
   protocol_binary_response_status (*delete)(const void *cookie,
176
 
                                             const void *key,
177
 
                                             uint16_t keylen,
178
 
                                             uint64_t cas);
 
185
   protocol_binary_response_status (*delete_key)(const void *cookie,
 
186
                                                 const void *key,
 
187
                                                 uint16_t keylen,
 
188
                                                 uint64_t cas);
179
189
 
180
190
 
181
191
   /**