Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached] / src / libmemcached / options.hpp
1 /*
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 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 LIBMEMCACHED_LOCAL
19 void memcached_set_configuration_file(memcached_st *self, const char *filename,
20 size_t filename_length);
21
22 LIBMEMCACHED_LOCAL
23 const char *memcached_parse_filename(memcached_st *memc);
24
25 LIBMEMCACHED_LOCAL
26 memcached_return_t memcached_parse_configuration(memcached_st *ptr, const char *option_string,
27 size_t length);
28
29 LIBMEMCACHED_LOCAL
30 size_t memcached_parse_filename_length(memcached_st *memc);
31
32 LIBMEMCACHED_LOCAL
33 memcached_return_t memcached_parse_configure_file(memcached_st &, const char *filename,
34 size_t length);
35
36 LIBMEMCACHED_LOCAL
37 memcached_return_t memcached_parse_configure_file(memcached_st &, memcached_array_st &filename);