1RBFPARMS(2) LAM REMOTE LIBRARY RBFPARMS(2)
2
3
4
6 rbfparms, rbfsweep, rbfsweep1, rbfudie, rbfwipe - Control LAM remote
7 buffers.
8
10 #include <bfreq.h>
11
12 int rbfparms (int node, int *parms);
13 int rbfsweep (int node);
14 int rbfsweep1 (int node, int event);
15 int rbfwipe (int node);
16
18 The remote function rbfparms() sets overall buffer parameters on the
19 given node.
20
21 Updated values are supplied in a buffer parameter structure, bfparms,
22 defined in <bfreq.h>.
23
24 struct bfparms {
25 int bfp_maxspace;
26 int bfp_nspace;
27 };
28
29 Not all fields in the structure control buffer parameters. The same
30 structure is used to return overall buffer status with rbfstate(2).
31 The controllable fields are listed below. If set to -1, the current
32 value in the remote buffer daemon is maintained, otherwise the value is
33 updated.
34
35 bfp_maxspace maximum space that a buffer daemon will allocate for
36 message buffers
37
38 Cleaning Buffers
39 A prematurely terminated application will frequently leave messages in
40 buffers.
41
42 rbfsweep() clears all buffered messages on a given node.
43
44 rbfsweep1() clears all messages with a given event on a given node.
45
46 rbfwipe() completely resets the state of the buffer daemon on a given
47 node. All buffered messages and any other information are lost.
48
50 bfctl(1), rbfstate(2)
51
52
53
54LAM 7.1.2 March, 2006 RBFPARMS(2)