forbset, forbquery - set or query some forb configuration parameters
int forbquery ( int orb, ... );
int forbset ( int orb, ... );
forbquery obtains certain of the internal forb parameters.
Some of these may also be set with forbset.
-
FORB_MAXPKTID
The maximum packet id allowed.
-
FORB_MAXSIZE
The nominal maximum allowable size of the whole collection of forb files
created by orb2disk.
-
FORB_MAX_TIME_GAP
To prevent completely bogus times from the future causing new segment files,
don't allow consecutive packets with times which differ by more than this amount.
The default is 1 year.
-
FORB_SEGMENTS
The total number of current forb segments.
-
FORB_SIZE
The total size of the current forb segments.
-
SEGMENT_FILENAME
The current segment filename.
-
SEGMENT_FIRST_PKTID
The pktid for the first packet in a forb segment.
-
SEGMENT_FIRST_TIME
The nominal time of the first packet in a forb segment.
-
SEGMENT_PACKETS
Maximum number of packets in a forb segment.
-
SEGMENT_PERIOD
The nominal period for a forb segment.
-
SEGMENT_REPRESENTATION
The representation for a forb segment (only for
writing): 'a', 'b', 'f', 's', or 'x'. The default
(and best choice) is 'b' for binary. See forb(5).
-
SEGMENT_SIZE
Approximate nominal maximum size for segment file. This counts packet bytes and a fixed
size for the header, not the actual bytes written to the file, which varies
depending on the representation.
-
FORB_CURRENT
During reading, adjust packet times to the current time; typically used with FORB_SYNCHRONOUS.
-
FORB_SYNCHRONOUS
cause packets to be returned only after the adjusted packet time is before the current
clock time.
-
FORB_VERBOSE
Cause some debugging output; can be triggered non-programmatically by creating a
file verbose.
returns 0 for success, otherwise an error occurred.
$(ORBLIBS)
MT-Safe
forb(3)
forb(5)
orb2disk(1)
diskserver(1)
Daniel Quinlan
Table of Contents
Antelope Release 4.8 Darwin 8.7.0 2006-09-20
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com