5c0fd91add6501105d4a8ea999dce4e0456d47ae
[ric-plt/lib/rmr.git] / doc / src / man / rmr_free_msg.3.xfm
1 .if false
2 ==================================================================================
3         Copyright (c) 2019 Nokia 
4         Copyright (c) 2018-2019 AT&T Intellectual Property.
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17 ==================================================================================
18 .fi
19
20 .if false
21         Mnemonic        rmr_free_msg_man.xfm
22         Abstract        The manual page for the rmr_free_msg function.
23         Author          E. Scott Daniels
24         Date            28 January 2019
25 .fi
26
27 .gv e LIB lib
28 .im &{lib}/man/setup.im 
29
30 &line_len(6i)
31
32 &h1(RMR Library Functions)
33 &h2(NAME)
34         rmr_free_msg
35
36 &h2(SYNOPSIS )
37 &indent
38 &ex_start
39 #include <rmr/rmr.h>
40
41 void rmr_free_msg( rmr_mbuf_t* mbuf );
42 &ex_end
43 &uindent
44
45 &h2(DESCRIPTION)
46 The message buffer is returned to the pool, or the associated memory is
47 released depending on the needs of the underlying messaging system. 
48 This allows the user application to release a buffer that is not going 
49 to be used.
50 It is safe to pass a nil pointer to this function, and doing so does 
51 not result in a change to the value of &cw(errrno.)
52 &space
53
54 After calling, the user application should &bold(not) use any of the 
55 pointers (transaction ID, or payload) which were available.
56
57
58 &h2(SEE ALSO )
59 rmr_alloc_msg(3),
60 rmr_call(3),
61 rmr_init(3),
62 rmr_payload_size(3),
63 rmr_send_msg(3),
64 rmr_rcv_msg(3),
65 rmr_rcv_specific(3),
66 rmr_rts_msg(3),
67 rmr_ready(3),
68 rmr_fib(3),
69 rmr_has_str(3),
70 rmr_tokenise(3),
71 rmr_mk_ring(3),
72 rmr_ring_free(3)
73
74
75 .qu
76