X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Frmr_init_trace.3.rst;h=2f9774dc844231bd406f6cbfaf6e13f0087e2473;hb=f447e29dffd0a24fcf02288b9591ce7d03a8fb9d;hp=52875a92f75429011fc32cda207d722f84b9d98c;hpb=a3a121ca4a0426ec964fa684fb27c397f2ee9e24;p=ric-plt%2Flib%2Frmr.git diff --git a/docs/rmr_init_trace.3.rst b/docs/rmr_init_trace.3.rst index 52875a9..2f9774d 100644 --- a/docs/rmr_init_trace.3.rst +++ b/docs/rmr_init_trace.3.rst @@ -1,14 +1,14 @@ -.. 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_init_trace -============================================================================================ - - +.. 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_init_trace +============================================================================================ + + RMR LIBRARY FUNCTIONS @@ -19,61 +19,61 @@ RMR LIBRARY FUNCTIONS NAME ---- -rmr_init_trace +rmr_init_trace SYNOPSIS -------- - -:: - - #include - - void* rmr_init_trace( void* ctx ) - + +:: + + #include + + void* rmr_init_trace( void* ctx ) + DESCRIPTION ----------- -The ``rmr_init_trace`` function establishes the default trace -space placed in each message buffer allocated with -``rmr_alloc_msg().`` If this function is never called, then -no trace space is allocated by default into any message -buffer. - -Trace space allows the user application to pass some trace -token, or other data with the message, but outside of the -payload. Trace data may be added to any message with -``rmr_set_trace(),`` and may be extracted from a message with -``rmr_get_trace().`` The number of bytes that a message -contains for/with trace data can be determined by invoking -``rmr_get_trlen().`` - -This function may be safely called at any time during the -life of the user programme to (re)set the default trace space -reserved. If the user programme needs to allocate a message -with trace space of a different size than is allocated by -default, without fear of extra overhead of reallocating a -message later, the ``rmr_tralloc_msg()`` function can be -used. +The ``rmr_init_trace`` function establishes the default trace +space placed in each message buffer allocated with +``rmr_alloc_msg().`` If this function is never called, then +no trace space is allocated by default into any message +buffer. + +Trace space allows the user application to pass some trace +token, or other data with the message, but outside of the +payload. Trace data may be added to any message with +``rmr_set_trace(),`` and may be extracted from a message with +``rmr_get_trace().`` The number of bytes that a message +contains for/with trace data can be determined by invoking +``rmr_get_trlen().`` + +This function may be safely called at any time during the +life of the user programme to (re)set the default trace space +reserved. If the user programme needs to allocate a message +with trace space of a different size than is allocated by +default, without fear of extra overhead of reallocating a +message later, the ``rmr_tralloc_msg()`` function can be +used. RETURN VALUE ------------ -A value of 1 is returned on success, and 0 on failure. A -failure indicates that the RMR context (a void pointer passed -to this function was not valid. +A value of 1 is returned on success, and 0 on failure. A +failure indicates that the RMR context (a void pointer passed +to this function was not valid. SEE ALSO -------- -rmr_alloc_msg(3), rmr_tr_alloc_msg(3), rmr_call(3), -rmr_free_msg(3), rmr_get_rcvfd(3), rmr_get_trace(3), -rmr_get_trlen(3), rmr_payload_size(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), rmr_set_trace(3) +rmr_alloc_msg(3), rmr_tr_alloc_msg(3), rmr_call(3), +rmr_free_msg(3), rmr_get_rcvfd(3), rmr_get_trace(3), +rmr_get_trlen(3), rmr_payload_size(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), rmr_set_trace(3)