Merge bzr://10.0.3.21 Build: jenkins-Libmemcached-469
[awesomized/libmemcached] / docs / libmemcached-1.0 / memcached_set_encoding_key.rst
1 ==================
2 Set encryption key
3 ==================
4
5 .. index:: object: memcached_st
6
7 --------
8 SYNOPSIS
9 --------
10
11 #include <libmemcached/memcached.h>
12
13 .. c:function:: void memcached_set_encoding_key (memcached_st *ptr, const char *string, const size_t string_length)
14
15 Compile and link with -lmemcached
16
17 -----------
18 DESCRIPTION
19 -----------
20
21
22 :c:func:`memcached_set_encoding_key` sets the key that will be used to encrypt and decrypt data as it is sent and recieved from the server.
23
24 Currently only AES is is supported.
25
26
27 ------
28 RETURN
29 ------
30
31
32 A value of type :c:type:`memcached_return_t` is returned On success that value
33 will be :c:type:`MEMCACHED_SUCCESS`. Use :c:func:`memcached_strerror` to
34 translate this value to a printable string.
35
36
37 ----
38 HOME
39 ----
40
41
42 To find out more information please check:
43 `http://libmemcached.org/ <http://libmemcached.org/>`_
44
45
46 ------
47 AUTHOR
48 ------
49
50
51 Brian Aker, <brian@tangent.org>
52
53
54 --------
55 SEE ALSO
56 --------
57
58 :manpage:`memcached(1)` :manpage:`libmemcached(3)` :manpage:`memcached_strerror(3)`