Add route table guide and formatting tweaks
[ric-plt/lib/rmr.git] / doc / src / man / rmr_get_meid.3.xfm
index 7f095c9..3695458 100644 (file)
@@ -1,7 +1,7 @@
 .if false
 ==================================================================================
-       Copyright (c) 2019 Nokia 
-       Copyright (c) 2018-2019 AT&T Intellectual Property.
+   Copyright (c) 2019-2020 Nokia
+   Copyright (c) 2018-2020 AT&T Intellectual Property.
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
 .fi
 
 .if false
-       Mnemonic        rmr_get_meid.xfm
-       Abstract        The manual page for the rmr_get_meid function.
-       Author          E. Scott Daniels
-       Date            8 March 2019
+    Mnemonic    rmr_get_meid.xfm
+    Abstract    The manual page for the rmr_get_meid function.
+    Author      E. Scott Daniels
+    Date        8 March 2019
 .fi
 
-.** if formatting with tfm, the roff.im will cause roff output to be generated
-.** if formatting with pfm, then pretty postscript will be generated
 .gv e LIB lib
-.if pfm
-       .im &{lib}/generic_ps.im
-.ei
-       .gv e OUTPUT_RST use_rst
-       .if .ev &use_rst 1 = 
-               .im &{lib}/rst.im
-       .ei
-               .im &{lib}/roff.im
-       .fi
-.fi
+.im &{lib}/man/setup.im
 
 &line_len(6i)
 
 &h1(RMR Library Functions)
 &h2(NAME)
-       rmr_get_meid
+    rmr_get_meid
 
 &h2(SYNOPSIS)
 &indent
@@ -55,30 +44,29 @@ char* rmr_get_meid( rmr_mbuf_t* mbuf, unsigned char* dest )
 &uindent
 
 &h2(DESCRIPTION)
-The &cw(rmr_get_meid) function will copy the managed equipment ID (meid) field from the message
-into the &ital(dest) buffer provided by the user.  
-The buffer referenced by &ital( dest ) is assumed to be at least &cw(RMR_MAX_MEID) bytes in length.
-If &ital( dest ) is NULL, then a buffer is allocated (the calling application is expected
+The &cw(rmr_get_meid) function will copy the managed entity ID (meid) field from the message
+into the &ital(dest) buffer provided by the user. 
+The buffer referenced by &ital(dest) is assumed to be at least &cw(RMR_MAX_MEID) bytes in length.
+If &ital(dest) is NULL, then a buffer is allocated (the calling application is expected
 to free when the buffer is no longer needed).
 
 &h2(RETURN VALUE)
-On success, a pointer to the extracted string is returned. 
-If &ital( dest ) was supplied, then this is just a pointer to the caller's buffer.
-If &ital( dest ) was NULL, this is a pointer to the allocated buffer.
+On success, a pointer to the extracted string is returned.
+If &ital(dest) was supplied, then this is just a pointer to the caller's buffer.
+If &ital(dest) was NULL, this is a pointer to the allocated buffer.
 If an error occurs, a nil pointer is returned and errno is set as described below.
 
 &h2(ERRORS)
-If an error occurs, the value of the global variable &cw( errno ) will be set to one of 
+If an error occurs, the value of the global variable &cw(errno) will be set to one of
 the following with the indicated meaning.
 
 &beg_dlist(.75i : ^&bold_font )
-&half_space
-&di(EINVAL) The message, or an internal portion of the message, was corrupted or the pointer was invalid.
 
-&half_space
-&di(ENOMEM) A nil pointer was passed for &ital( dest, ) however it was not possible to allocate a 
-       buffer using malloc().
-&end_dilist
+&ditem(EINVAL) The message, or an internal portion of the message, was corrupted or the pointer was invalid.
+
+&ditem(ENOMEM) A nil pointer was passed for &ital(dest,) however it was not possible to allocate a
+    buffer using malloc().
+&end_dlist
 
 
 
@@ -90,6 +78,7 @@ rmr_bytes2meid(3),
 rmr_call(3),
 rmr_free_msg(3),
 rmr_get_rcvfd(3),
+rmr_get_xact(3),
 rmr_payload_size(3),
 rmr_send_msg(3),
 rmr_rcv_msg(3),
@@ -107,6 +96,3 @@ rmr_wh_open(3),
 rmr_wh_send_msg(3)
 .ju on
 
-
-.qu
-