~brianaker/libmemcached/merge-1.0-april-2013

« back to all changes in this revision

Viewing changes to libmemcached/do.cc

  • Committer: Continuous Integration
  • Date: 2013-04-03 13:16:24 UTC
  • mfrom: (1100.1.1 libmemcached-1.2)
  • Revision ID: ci@tangent.org-20130403131624-j59dhv5z5l0lsdld
Merge lp:~tangent-org/libmemcached/1.2-build/ Build: jenkins-Libmemcached-250

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
#include <libmemcached/common.h>
13
13
 
14
 
static memcached_return_t _vdo_udp(org::libmemcached::Instance* instance,
 
14
static memcached_return_t _vdo_udp(memcached_instance_st* instance,
15
15
                                   libmemcached_io_vector_st vector[],
16
16
                                   const size_t count)
17
17
{
30
30
  vector[0].length= UDP_DATAGRAM_HEADER_LENGTH;
31
31
 
32
32
  msg.msg_iov= (struct iovec*)vector;
33
 
#if defined(TARGET_OS_OSX) && TARGET_OS_OSX
 
33
#ifdef __APPLE__
34
34
  msg.msg_iovlen= int(count);
35
35
#else
36
36
  msg.msg_iovlen= count;
64
64
#endif
65
65
}
66
66
 
67
 
memcached_return_t memcached_vdo(org::libmemcached::Instance* instance,
 
67
memcached_return_t memcached_vdo(memcached_instance_st* instance,
68
68
                                 libmemcached_io_vector_st vector[],
69
69
                                 const size_t count,
70
70
                                 const bool with_flush)