X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fsasl.h;h=1105cd81317ae2332f3dbbbee9e673d0867750ff;hb=2a1e29bce497c25fad73b9d74db4a3daf74413b5;hp=6867f07900a6f3def6a27f3201b6870fd00c29d7;hpb=519261ca98528ebc5d854ed839f400aa03a3dc5c;p=m6w6%2Flibmemcached diff --git a/libmemcached/sasl.h b/libmemcached/sasl.h index 6867f079..1105cd81 100644 --- a/libmemcached/sasl.h +++ b/libmemcached/sasl.h @@ -47,4 +47,19 @@ memcached_return_t memcached_sasl_authenticate_connection(memcached_server_st *s #endif /* LIBMEMCACHED_WITH_SASL_SUPPORT */ +struct memcached_sasl_st { +#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + const sasl_callback_t *callbacks; +#else + const void *callbacks; +#endif + /* + ** Did we allocate data inside the callbacks, or did the user + ** supply that. + */ + bool is_allocated; +}; + + + #endif /* LIBMEMCACHED_MEMCACHED_SASL_H */