X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Frmr_payload_size.3.rst;h=a0c4bd37751aaa274540a73b7c288f51125919ea;hb=9c923bcc9322c22220b574671c7b46f10008c614;hp=a8fd98a5576de6972cd0222f87f06f6e7019692e;hpb=503fe41e88b66ff8986c991bfbd075331b0bd166;p=ric-plt%2Flib%2Frmr.git diff --git a/docs/rmr_payload_size.3.rst b/docs/rmr_payload_size.3.rst index a8fd98a..a0c4bd3 100644 --- a/docs/rmr_payload_size.3.rst +++ b/docs/rmr_payload_size.3.rst @@ -1,63 +1,74 @@ - - -.. This work is licensed under a Creative Commons Attribution 4.0 International License. -.. SPDX-License-Identifier: CC-BY-4.0 -.. CAUTION: this document is generated from source in doc/src/rtd. -.. To make changes edit the source and recompile the document. -.. Do NOT make changes directly to .rst or .md files. - - -============================================================================================ -Man Page: rmr_payload_size -============================================================================================ - -RMR Library Functions -============================================================================================ - - -NAME --------------------------------------------------------------------------------------------- - -rmr_payload_size - -SYNOPSIS --------------------------------------------------------------------------------------------- - - -:: - - #include - int rmr_payload_size( rmr_mbuf_t* msg ); - - - -DESCRIPTION --------------------------------------------------------------------------------------------- - -Given a message buffer, this function returns the amount of -space (bytes) available for the user application to consume -in the message payload. This is different than the message -length available as a field in the message buffer. - -RETURN VALUE --------------------------------------------------------------------------------------------- - -The number of bytes available in the payload. - -ERRORS --------------------------------------------------------------------------------------------- - - - -INVAL - - Parameter(s) passed to the function were not valid. - - -SEE ALSO --------------------------------------------------------------------------------------------- - -rmr_alloc_msg(3), rmr_call(3), rmr_free_msg(3), rmr_init(3), -rmr_send_msg(3), rmr_rcv_msg(3), rmr_rcv_specific(3), -rmr_rts_msg(3), rmr_ready(3), rmr_fib(3), rmr_has_str(3), -rmr_tokenise(3), rmr_mk_ring(3), rmr_ring_free(3) +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. SPDX-License-Identifier: CC-BY-4.0 +.. CAUTION: this document is generated from source in doc/src/rtd. +.. To make changes edit the source and recompile the document. +.. Do NOT make changes directly to .rst or .md files. + +============================================================================================ +Man Page: rmr_payload_size +============================================================================================ + + + + +RMR LIBRARY FUNCTIONS +===================== + + + +NAME +---- + +rmr_payload_size + + +SYNOPSIS +-------- + + +:: + + #include + + int rmr_payload_size( rmr_mbuf_t* msg ); + + + +DESCRIPTION +----------- + +Given a message buffer, this function returns the amount of +space (bytes) available for the user application to consume +in the message payload. This is different than the message +length available as a field in the message buffer. + + +RETURN VALUE +------------ + +The number of bytes available in the payload. + + +ERRORS +------ + + + .. list-table:: + :widths: auto + :header-rows: 0 + :class: borderless + + * - **INVAL** + - + Parameter(s) passed to the function were not valid. + + + + +SEE ALSO +-------- + +rmr_alloc_msg(3), rmr_call(3), rmr_free_msg(3), rmr_init(3), +rmr_send_msg(3), rmr_rcv_msg(3), rmr_rcv_specific(3), +rmr_rts_msg(3), rmr_ready(3), rmr_fib(3), rmr_has_str(3), +rmr_tokenise(3), rmr_mk_ring(3), rmr_ring_free(3)