2 +--------------------------------------------------------------------+
3 | libmemcached-awesome - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020-2021 Michael Wallner https://awesome.co/ |
13 +--------------------------------------------------------------------+
18 #if defined(LIBMEMCACHED_WITH_SASL_SUPPORT) && LIBMEMCACHED_WITH_SASL_SUPPORT
19 # include <sasl/sasl.h>
21 # define sasl_callback_t void
29 void memcached_set_sasl_callbacks(memcached_st
*ptr
, const sasl_callback_t
*callbacks
);
32 memcached_return_t
memcached_set_sasl_auth_data(memcached_st
*ptr
, const char *username
,
33 const char *password
);
36 memcached_return_t
memcached_destroy_sasl_auth_data(memcached_st
*ptr
);
39 sasl_callback_t
*memcached_get_sasl_callbacks(memcached_st
*ptr
);
45 #include "libmemcached-1.0/struct/sasl.h"