.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MEMCACHED_RETURN_T" "3" "May 01, 2024" "1.1" "libmemcached-awesome" .SH NAME memcached_return_t \- Return type values .SH SYNOPSIS .INDENT 0.0 .TP .B #include Compile and link with \-lmemcached .UNINDENT .INDENT 0.0 .TP .B bool memcached_success(\fI\%memcached_return_t\fP rc) .UNINDENT .INDENT 0.0 .TP .B bool memcached_continue(\fI\%memcached_return_t\fP rc) .UNINDENT .INDENT 0.0 .TP .B bool memcached_failed(\fI\%memcached_return_t\fP rc) .UNINDENT .INDENT 0.0 .TP .B bool memcached_fatal(\fI\%memcached_return_t\fP rc) .UNINDENT .INDENT 0.0 .TP .B typedef enum \fI\%memcached_return_t\fP memcached_return_t .UNINDENT .INDENT 0.0 .TP .B enum memcached_return_t .INDENT 7.0 .TP .B enumerator MEMCACHED_AUTH_CONTINUE Authentication has been paused. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_AUTH_FAILURE The credentials provided are not valid for this server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_AUTH_PROBLEM An unknown issue has occurred during authentication. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_BAD_KEY_PROVIDED The key provided is not a valid key. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_BUFFERED The request has been buffered. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_CLIENT_ERROR An unknown client error has occurred internally. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_CONNECTION_BIND_FAILURE Deprecated since version <0.30. .sp We were not able to bind() to the socket. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_CONNECTION_FAILURE A unknown error has occurred while trying to connect to a server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_CONNECTION_SOCKET_CREATE_FAILURE Deprecated since version <0.30. .sp An error has occurred while trying to connect to a server. It is likely that either the number of file descriptors need to be increased or you are out of memory. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_DATA_DOES_NOT_EXIST The data requested with the key given was not found. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_DATA_EXISTS The data requested with the key given was not found. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_DELETED The object requested by the key has been deleted. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_DEPRECATED The method that was requested has been deprecated. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_E2BIG Item is too large for the server to store. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_END The server has completed returning all of the objects requested. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_ERRNO An error has occurred in the driver which has set errno. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_FAIL_UNIX_SOCKET A connection was not established with the server via a unix domain socket. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_FAILURE Deprecated since version <0.30. .sp A unknown failure has occurred in the server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_FETCH_NOTFINISHED A request has been made, but the server has not finished the fetch of the last request. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_HOST_LOOKUP_FAILURE A DNS failure has occurred. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_INVALID_ARGUMENTS The arguments supplied to the given function were not valid. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_INVALID_HOST_PROTOCOL The server you are connecting too has an invalid protocol. Most likely you are connecting to an older server that does not speak the binary protocol. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_ITEM An item has been fetched (this is an internal error only). .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_KEY_TOO_BIG The key that has been provided is too large for the given server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_MAXIMUM_RETURN This in an internal only state. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_MEMORY_ALLOCATION_FAILURE An error has occurred while trying to allocate memory. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_NO_KEY_PROVIDED Deprecated since version <0.30: Use \fI\%MEMCACHED_BAD_KEY_PROVIDED\fP instead. .sp No key was provided. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_NO_SERVERS No servers have been added to the memcached_st object. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_NOTFOUND The object requested was not found. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_NOTSTORED The request to store an object failed. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_NOT_SUPPORTED The given method is not supported in the server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_PARSE_ERROR An error has occurred while trying to parse the configuration string. You should use memparse to determine what the error was. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_PARSE_USER_ERROR An error has occurred in parsing the configuration string. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_PARTIAL_READ The read was only partially successful. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_PROTOCOL_ERROR An unknown error has occurred in the protocol. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_READ_FAILURE A read failure has occurred. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_SERVER_ERROR An unknown error has occurred in the server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_SERVER_MARKED_DEAD The requested server has been marked dead. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_SOME_ERRORS A multi request has been made, and some undetermined number of errors have occurred. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_STAT A \(dqstat\(dq command has been returned in the protocol. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_STORED The requested object has been successfully stored on the server. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_SUCCESS The request was successfully executed. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_TIMEOUT Operation has timed out. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_UNKNOWN_READ_FAILURE An unknown read failure only occurs when either there is a bug in the server, or in rare cases where an ethernet nic is reporting dubious information. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_UNKNOWN_STAT_KEY The server you are communicating with has a stat key which has not be defined in the protocol. .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_VALUE A value has been returned from the server (this is an internal condition only). .UNINDENT .INDENT 7.0 .TP .B enumerator MEMCACHED_WRITE_FAILURE An error has occurred while trying to write to a server. .UNINDENT .UNINDENT .SH SEE ALSO .sp \fB\X'tty: link https://linux.die.net/man/1/memcached'\fI\%memcached(1)\fP\X'tty: link'\fP \fB\X'tty: link https://linux.die.net/man/3/libmemcached'\fI\%libmemcached(3)\fP\X'tty: link'\fP \fB\X'tty: link https://linux.die.net/man/3/memcached_strerror'\fI\%memcached_strerror(3)\fP\X'tty: link'\fP .\" Generated by docutils manpage writer. .