~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to libmemcached/auto.cc

  • Committer: Continuous Integration
  • Date: 2013-04-02 10:00:47 UTC
  • mfrom: (1153.1.1 libmemcached-1.0)
  • Revision ID: ci@tangent.org-20130402100047-dwent80x5y7t4wxv
Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-248

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
#include <libmemcached/common.h>
39
39
 
40
 
static void auto_response(org::libmemcached::Instance* instance, const bool reply,  memcached_return_t& rc, uint64_t* value)
 
40
static void auto_response(memcached_instance_st* instance, const bool reply,  memcached_return_t& rc, uint64_t* value)
41
41
{
42
42
  // If the message was successfully sent, then get the response, otherwise
43
43
  // fail.
63
63
  }
64
64
}
65
65
 
66
 
static memcached_return_t text_incr_decr(org::libmemcached::Instance* instance,
 
66
static memcached_return_t text_incr_decr(memcached_instance_st* instance,
67
67
                                         const bool is_incr,
68
68
                                         const char *key, size_t key_length,
69
69
                                         const uint64_t offset,
97
97
  return memcached_vdo(instance, vector, 7, true);
98
98
}
99
99
 
100
 
static memcached_return_t binary_incr_decr(org::libmemcached::Instance* instance,
 
100
static memcached_return_t binary_incr_decr(memcached_instance_st* instance,
101
101
                                           protocol_binary_command cmd,
102
102
                                           const char *key, const size_t key_length,
103
103
                                           const uint64_t offset,
180
180
  }
181
181
 
182
182
  uint32_t server_key= memcached_generate_hash_with_redistribution(memc, group_key, group_key_length);
183
 
  org::libmemcached::Instance* instance= memcached_instance_fetch(memc, server_key);
 
183
  memcached_instance_st* instance= memcached_instance_fetch(memc, server_key);
184
184
 
185
185
  bool reply= memcached_is_replying(instance->root);
186
186
 
239
239
  }
240
240
 
241
241
  uint32_t server_key= memcached_generate_hash_with_redistribution(memc, group_key, group_key_length);
242
 
  org::libmemcached::Instance* instance= memcached_instance_fetch(memc, server_key);
 
242
  memcached_instance_st* instance= memcached_instance_fetch(memc, server_key);
243
243
 
244
244
  bool reply= memcached_is_replying(instance->root);
245
245