aboutsummaryrefslogtreecommitdiffstats
path: root/doc/info
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-24 01:10:56 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-24 01:10:56 +0200
commit172b4b5c665e1ae65d7724801f02ae99bc4f2633 (patch)
tree3819d823f4a1f6259749e9b785ac702932f2a235 /doc/info
parentinfo: construct_error_message and send_error (diff)
downloadmds-172b4b5c665e1ae65d7724801f02ae99bc4f2633.tar.gz
mds-172b4b5c665e1ae65d7724801f02ae99bc4f2633.tar.bz2
mds-172b4b5c665e1ae65d7724801f02ae99bc4f2633.tar.xz
m info
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info')
-rw-r--r--doc/info/mds.texinfo2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index b1e76c5..9e4f374 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -6902,6 +6902,7 @@ This function returns zero if the @code{string} is
properly formatted, and @code{-1} otherwise.
@item @code{construct_error_message} [(@code{const char* restrict recv_client_id, const char* restrict recv_message_id, int custom, int errnum, const char* restrict message, char** restrict send_buffer, size_t* restrict send_buffer_size}) @arrow{} @code{size_t}]
+@cpindex Error management
This function constructs an error message to be sent to
a client. It implements the @code{error} protocol with
with identifying header @code{Command: error}.
@@ -6955,6 +6956,7 @@ message on success, and zero on failure. On failure
@code{errno} will be set accordingly.
@item @code{send_error} [(@code{..., int socket_fd}) @arrow{} @code{int}]
+@cpindex Error management
This function is a wrapper for @code{construct_error_message} that also
sends constructed message to the socket whose file descriptor is @code{socket_fd}.
This function has the same parameters as @code{construct_error_message},