X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fman%2Frmr_wh_call.3.xfm;h=eadbfe3d8daa5eb29b9ce32daf693418e47f5082;hb=refs%2Fchanges%2F51%2F4751%2F2;hp=cc3a82b9024e57faf6cb43a8960b61b4eee3c769;hpb=5157a97ada5447efcee4da6192798a3b6799884c;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/man/rmr_wh_call.3.xfm b/doc/src/man/rmr_wh_call.3.xfm index cc3a82b..eadbfe3 100644 --- a/doc/src/man/rmr_wh_call.3.xfm +++ b/doc/src/man/rmr_wh_call.3.xfm @@ -86,10 +86,10 @@ buffer. &space &beg_dlist(.75i : ^&bold_font ) -&di(RMR_ERR_WHID) The wormhole ID passed in was not associated with an open wormhole, or was out of range for a valid ID. -&di(RMR_ERR_NOWHOPEN) No wormholes exist, further attempt to validate the ID are skipped. -&di(RMR_ERR_BADARG) The message buffer pointer did not refer to a valid message. -&di(RMR_ERR_NOHDR) The header in the message buffer was not valid or corrupted. +&ditem(RMR_ERR_WHID) The wormhole ID passed in was not associated with an open wormhole, or was out of range for a valid ID. +&ditem(RMR_ERR_NOWHOPEN) No wormholes exist, further attempt to validate the ID are skipped. +&ditem(RMR_ERR_BADARG) The message buffer pointer did not refer to a valid message. +&ditem(RMR_ERR_NOHDR) The header in the message buffer was not valid or corrupted. &end_dlist &h2(EXAMPLE) @@ -108,8 +108,9 @@ int main() { int i; rmr_mbuf_t* sbuf; // send buffer int count = 0; + int norm_msg_size = 1500; // most messages fit in this size - mrc = rmr_init( "43086", RMR_MAX_RCV_BYTES, RMRFL_NONE ); + mrc = rmr_init( "43086", norm_msg_size, RMRFL_NONE ); if( mrc == NULL ) { fprintf( stderr, "[FAIL] unable to initialise RMR environment\n" ); exit( 1 );