1MEMCACHED_RETURN_T(3)        libmemcached-awesome        MEMCACHED_RETURN_T(3)
2
3
4

NAME

6       memcached_return_t - Return type values
7

SYNOPSIS

9       #include <libmemcached/memcached.h>
10              Compile and link with -lmemcached
11
12       bool memcached_success(memcached_return_t rc)
13
14       bool memcached_continue(memcached_return_t rc)
15
16       bool memcached_failed(memcached_return_t rc)
17
18       bool memcached_fatal(memcached_return_t rc)
19
20       typedef enum memcached_return_t memcached_return_t
21
22       enum memcached_return_t
23
24              enumerator MEMCACHED_AUTH_CONTINUE
25                     Authentication has been paused.
26
27              enumerator MEMCACHED_AUTH_FAILURE
28                     The credentials provided are not valid for this server.
29
30              enumerator MEMCACHED_AUTH_PROBLEM
31                     An unknown issue has occurred during authentication.
32
33              enumerator MEMCACHED_BAD_KEY_PROVIDED
34                     The key provided is not a valid key.
35
36              enumerator MEMCACHED_BUFFERED
37                     The request has been buffered.
38
39              enumerator MEMCACHED_CLIENT_ERROR
40                     An unknown client error has occurred internally.
41
42              enumerator MEMCACHED_CONNECTION_BIND_FAILURE
43                     Deprecated since version <0.30.
44
45
46                     We were not able to bind() to the socket.
47
48              enumerator MEMCACHED_CONNECTION_FAILURE
49                     A unknown error has occurred while trying to connect to a
50                     server.
51
52              enumerator MEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE
53                     Deprecated since version <0.30.
54
55
56                     An error has  occurred  while  trying  to  connect  to  a
57                     server.   It is likely that either the number of file de‐
58                     scriptors need to be increased or you are out of memory.
59
60              enumerator MEMCACHED_DATA_DOES_NOT_EXIST
61                     The data requested with the key given was not found.
62
63              enumerator MEMCACHED_DATA_EXISTS
64                     The data requested with the key given was not found.
65
66              enumerator MEMCACHED_DELETED
67                     The object requested by the key has been deleted.
68
69              enumerator MEMCACHED_DEPRECATED
70                     The method that was requested has been deprecated.
71
72              enumerator MEMCACHED_E2BIG
73                     Item is too large for the server to store.
74
75              enumerator MEMCACHED_END
76                     The server has completed returning all of the objects re‐
77                     quested.
78
79              enumerator MEMCACHED_ERRNO
80                     An error has occurred in the driver which has set errno.
81
82              enumerator MEMCACHED_FAIL_UNIX_SOCKET
83                     A  connection  was  not established with the server via a
84                     unix domain socket.
85
86              enumerator MEMCACHED_FAILURE
87                     Deprecated since version <0.30.
88
89
90                     A unknown failure has occurred in the server.
91
92              enumerator MEMCACHED_FETCH_NOTFINISHED
93                     A request has been made, but the server has not  finished
94                     the fetch of the last request.
95
96              enumerator MEMCACHED_HOST_LOOKUP_FAILURE
97                     A DNS failure has occurred.
98
99              enumerator MEMCACHED_INVALID_ARGUMENTS
100                     The  arguments  supplied  to  the given function were not
101                     valid.
102
103              enumerator MEMCACHED_INVALID_HOST_PROTOCOL
104                     The server you are connecting too has an  invalid  proto‐
105                     col.   Most  likely you are connecting to an older server
106                     that does not speak the binary protocol.
107
108              enumerator MEMCACHED_ITEM
109                     An item has been  fetched  (this  is  an  internal  error
110                     only).
111
112              enumerator MEMCACHED_KEY_TOO_BIG
113                     The key that has been provided is too large for the given
114                     server.
115
116              enumerator MEMCACHED_MAXIMUM_RETURN
117                     This in an internal only state.
118
119              enumerator MEMCACHED_MEMORY_ALLOCATION_FAILURE
120                     An error has occurred while trying to allocate memory.
121
122              enumerator MEMCACHED_NO_KEY_PROVIDED
123                     Deprecated      since      version       <0.30:       Use
124                     MEMCACHED_BAD_KEY_PROVIDED instead.
125
126
127                     No key was provided.
128
129              enumerator MEMCACHED_NO_SERVERS
130                     No servers have been added to the memcached_st object.
131
132              enumerator MEMCACHED_NOTFOUND
133                     The object requested was not found.
134
135              enumerator MEMCACHED_NOTSTORED
136                     The request to store an object failed.
137
138              enumerator MEMCACHED_NOT_SUPPORTED
139                     The given method is not supported in the server.
140
141              enumerator MEMCACHED_PARSE_ERROR
142                     An  error has occurred while trying to parse the configu‐
143                     ration string.  You should use memparse to determine what
144                     the error was.
145
146              enumerator MEMCACHED_PARSE_USER_ERROR
147                     An  error  has  occurred   in  parsing  the configuration
148                     string.
149
150              enumerator MEMCACHED_PARTIAL_READ
151                     The read was only partially successful.
152
153              enumerator MEMCACHED_PROTOCOL_ERROR
154                     An unknown error has occurred in the protocol.
155
156              enumerator MEMCACHED_READ_FAILURE
157                     A read failure has occurred.
158
159              enumerator MEMCACHED_SERVER_ERROR
160                     An unknown error has occurred in the server.
161
162              enumerator MEMCACHED_SERVER_MARKED_DEAD
163                     The requested server has been marked dead.
164
165              enumerator MEMCACHED_SOME_ERRORS
166                     A multi request has been made, and some undetermined num‐
167                     ber of errors have occurred.
168
169              enumerator MEMCACHED_STAT
170                     A "stat" command has been returned in the protocol.
171
172              enumerator MEMCACHED_STORED
173                     The  requested object has been successfully stored on the
174                     server.
175
176              enumerator MEMCACHED_SUCCESS
177                     The request was successfully executed.
178
179              enumerator MEMCACHED_TIMEOUT
180                     Operation has timed out.
181
182              enumerator MEMCACHED_UNKNOWN_READ_FAILURE
183                     An unknown read failure only occurs when either there  is
184                     a  bug  in the server, or in rare cases where an ethernet
185                     nic is reporting dubious information.
186
187              enumerator MEMCACHED_UNKNOWN_STAT_KEY
188                     The server you are communicating  with  has  a  stat  key
189                     which has not be defined in the protocol.
190
191              enumerator MEMCACHED_VALUE
192                     A value has been returned from the server (this is an in‐
193                     ternal condition only).
194
195              enumerator MEMCACHED_WRITE_FAILURE
196                     An error has occurred while trying to write to a server.
197

SEE ALSO

199       memcached(1) libmemcached(3) memcached_strerror(3)
200
201
202
203
2041.1                              Jul 20, 2023            MEMCACHED_RETURN_T(3)
Impressum