X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Flibrary%2Fapi_qref.im;h=ba230546e8c0b3ed2219df8f73456425429508e8;hb=d961525e9eb23e3dee4a16960a1772782c3b8b36;hp=0f305fb41e678ce0e09cc11d8d9232e755b3b7ea;hpb=06e85b7015b6804e641424a022d0a9ceb282e280;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/library/api_qref.im b/doc/src/library/api_qref.im index 0f305fb..ba23054 100644 --- a/doc/src/library/api_qref.im +++ b/doc/src/library/api_qref.im @@ -282,6 +282,8 @@ The bytes from the &cw(meid) field of the message buffer are copied to the &ital provided by the application. The full field of &cw(RMR_MAX_MEID) bytes are copied; the caller must ensure that &ital(dest) is large enough. +If the destination buffer pointer passed in is a nil pointer, the function will allocate a buffer +and return a pointer, which the caller is expected to free, to the buffer. &proto_start unsigned char* rmr_get_src( rmr_mbuf_t* mbuf, unsigned char* dest ); @@ -314,6 +316,16 @@ The bytes from the trace data, up to &tial(size) bytes, is copied from the messa to the &ital(dest) buffer provided by the caller. The return value is the number of bytes actually copied. +&proto_start +unsigned char* rmr_get_xact( rmr_mbuf_t* mbuf, unsigned char* dest ); +&proto_end +The bytes from the &ital(transaction) field in the message buffer are copied to the &ital(dest) buffer +provided by the application. +The full field of &cw(RMR_MAX_MEID) bytes are copied; the caller must ensure that &ital(dest) +is large enough. +If the destination buffer pointer passed in is a nil pointer, the function will allocate a buffer +and return a pointer, which the caller is expected to free, to the buffer. + &proto_start int rmr_payload_size( rmr_mbuf_t* msg ); &proto_end