~brianaker/libmemcached/gear-clean

« back to all changes in this revision

Viewing changes to libmemcached/sasl.cc

Automagic merge of lp:~brianaker/libmemcached/libmemcached-gearman-remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
  return SASL_OK;
321
321
}
322
322
 
 
323
#pragma GCC diagnostic ignored "-Wcast-function-type"
323
324
memcached_return_t memcached_set_sasl_auth_data(memcached_st *shell,
324
325
                                                const char *username,
325
326
                                                const char *password)
377
378
 
378
379
  return MEMCACHED_SUCCESS;
379
380
}
 
381
#pragma GCC diagnostic pop
380
382
 
381
383
memcached_return_t memcached_destroy_sasl_auth_data(memcached_st *shell)
382
384
{
409
411
  return MEMCACHED_SUCCESS;
410
412
}
411
413
 
 
414
#pragma GCC diagnostic ignored "-Wcast-function-type"
412
415
memcached_return_t memcached_clone_sasl(memcached_st *clone, const  memcached_st *source)
413
416
{
414
417
  if (LIBMEMCACHED_WITH_SASL_SUPPORT == 0)
516
519
 
517
520
  return MEMCACHED_SUCCESS;
518
521
}
 
522
#pragma GCC diagnostic pop
519
523
 
520
524
#else
521
525