GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEP / V1-3-8 > lsep_write / rhel5-64
#include <dprintf.h>
#include <CCSDS/CCSDS_pkt.h>
#include <CDM/CDM_pubdefs.h>
#include <LSEP/LSEP_ids.h>
#include <LSEP/LSEPW.h>
#include <CDFP.h>
#include <CDFP_def.h>
#include <LSE/CDF_gem.h>
#include <LSE/LSE_time.h>
#include <LSE/CCSDS_ostream.h>
#include <EDS/EBF_dir.h>
#include <EDS/EBF_match.h>
#include <EDS/EDS_fw.h>
#include <EDS/EDS_cfg.h>
#include <EDS/io/EBF_stream.h>
#include <EDS/io/LCBP.h>
#include <EDS/io/EBF_swap.h>
#include <EDS/LCBV.h>
#include <EDS/TMR.h>
#include <LSF/LSF_cpu.h>
#include <LSF/LSF_mode.h>
#include <LSF/LSF_origin.h>
#include <LSF/LSF_reason.h>
#include <EFC_DB/EH_ids.h>
#include <PBI/FFS.ih>
#include <PBI/PTR.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <string.h>
#include <libgen.h>
Classes | |
struct | _StrDsc |
Defines a string descriptor as a length and a pointer. More... | |
struct | _FileNamBlk |
Describes a file name as consisting of 3 pieces, a directory, a name, and an extension. More... | |
struct | _HandlerCtx |
Bogus handler context for testing purposes. More... | |
struct | _PostStream |
Post Stream Services + Context Parameter. More... | |
struct | _File |
Definition of a file. More... | |
struct | _OutputFiles |
Managing structure for the output files. More... | |
struct | _PostSeqSpec |
Post Sequence Specification. More... | |
struct | _PostCtx |
Combines the EDS posting services with its context parameter. More... | |
struct | _ModeSeqSpec |
Mode Sequence Specification. More... | |
struct | _ModeSeqCtx |
Captures the Mode Sequence Context. More... | |
struct | _Ctl |
Collections all the control parameters together. These are essentially the interpretted command line options. More... | |
struct | _PostHandler |
Binds a posting routine with its parameter. More... | |
Defines | |
#define | RND_TO(_x, _r) ((((_x) + (_r) -1) / (_r)) * (_r)) |
Rounds the specified number, _x up to the nearest multiple of _r. | |
Typedefs | |
typedef struct _StrDsc | StrDsc |
Typedef for struct _StrDsc. | |
typedef struct _FileNamBlk | FileNamBlk |
Typedef for struct _FileNamBlk. | |
typedef struct _HandlerCtx | HandlerCtx |
Typedef for struct _HandlerCtx. | |
typedef struct _PostStream | PostStream |
Typedef for struct _PostStream. | |
typedef struct _File | File |
Typedef for a file. | |
typedef struct _OutputFiles | OutputFiles |
Typedef for struct _OutputFiles. | |
typedef struct _PostSeqSpec | PostSeqSpec |
Typedef for struct _PostSeqSpec. | |
typedef struct _PostCtx | PostCtx |
Typedef for struct _PostCtx. | |
typedef struct _ModeSeqSpec | ModeSeqSpec |
Typedef for struct _ModeSeqSpec. | |
typedef struct _ModeSeqCtx | ModeSeqCtx |
Typedef for struct _ModeSeqCtx. | |
typedef struct _Ctl | Ctl |
Typedef for struct _Ctl. | |
typedef struct _PostHandler | PostHandler |
Typedef for struct _PostHandler. | |
Functions | |
static LSEPW * | lsepw_allocate (int level) |
Sizes and allocates an LSEPW control structure. | |
static unsigned int * | ccsds_post (void *prm, void *buf, int nbytes) |
Routine to write the data for the CCSDS ostream. | |
static unsigned int * | buf_post (void *prm, void *buf, int nbytes) |
Routine to write the data to a file. | |
static unsigned int * | dummy_post (void *prm, void *buf, int nbytes) |
Dummy event posting routine. | |
static CDFP_cfg * | cdfp_cfg_allocate (int level) |
Sizes and allocates an CDFP configuration structure. | |
static unsigned int | getObjects (HandlerCtx *ctx) |
Returns the objects needed by this handler. | |
static unsigned int | getNeeds (HandlerCtx *ctx) |
Returns the needs of this handler. | |
static unsigned int | getResultSize (HandlerCtx *ctx) |
Returns the needs of this handler. | |
static unsigned int | evt_lcbd_handler (ModeSeqCtx *msx, unsigned int edw, EBF_pkt *pkt) |
LCBD event handler call back routine. | |
static unsigned int | output (Ctl *ctl) |
Finishes the platform common setup and initalization, starts the packet flow. | |
static void | reportUsage (void) |
Brief explanation on readtest usage. | |
unsigned int | evt_handler (HandlerCtx *ctx, unsigned int pktBytes, void *pkt, unsigned int siv, EDS_fwIxb *ixb, int id) |
Dummy event handler. | |
static int | fillCtl (Ctl *ctl, int argc, char *const argv[]) |
Examines the command line parameters and fills the output control structure. | |
int | main (int argc, char *const argv[]) |
Usual entry point for lsep_write. | |
static void | parse (FileNamBlk *nam, const char *filename, unsigned int opts) |
Breaks a file name into its components. | |
static const char * | compose (char *name, const char *iname, const FileNamBlk *relblk, int apid, const char *defext) |
static int | loadLib (const char *library_name, int verbose) |
Dynamically loads the specified configuration library. | |
static void | getKeys (const char *s, unsigned int *hkey, unsigned int *skey, unsigned int *ckey) |
Parses the input for hardware (LATC) and software (Boot Script) and configuration (LPA_DB) keys. The format is a comma separated list of up two three items of the form. | |
static time_t | getTime (const char *s) |
Parses an input time specification to produce a 32-bit time value. | |
static void | addHandler (HandlerCtx *handler, int idx, const char *s, unsigned int reassemble) |
Parses and adds a handler. | |
static void | addOutputFile (OutputFiles *output, const char *s) |
Captures the names of the output files. | |
static int | initHandler (HandlerCtx *handler, int objects, unsigned int reassemble) |
Initializes a default handler context. | |
static __inline int | count_chr (const char *s, char c) |
Counts the number of times c appears in the string s. | |
static void | report_flag_err (const char *reason, const char *s, int count) |
Issue an error message when the parsing of the flag sequence options string is not specified correctly. | |
static void | report_mss_err (const char *reason, const char *s, int count) |
Issue an error message when the parsing of the flag sequence options string is not specified correctly. | |
static LSE_timeFlagSpec * | constructTfs (const char *s, unsigned int *flags) |
Constructs a Time Flag Specification orders. | |
static ModeSeqSpec * | constructMss (const char *s) |
Constructs a Mode Sequence Specification orders. | |
static void | report_pss_err (const char *reason, const char *s, int count) |
Issue an error message when the parsing of the Posting sequence options string is not specified correctly. | |
static PostSeqSpec * | constructPss (const char *s) |
Constructs a list of Post Sequence Specification orders. | |
The fully qualified name of the output file to create | |
static PostHandler | post_handler_get (int fd, int ccsdsFlag) |
Sets up the physical posting routine plus its context parameter. | |
static int | postCtxConstruct (PostCtx *ctx, Ctl *ctl) |
Constructs the posting context. | |
static int | postStart (PostCtx *ctx, int reason, unsigned int run_id, unsigned int startTime, unsigned int mode, unsigned int hw_key, unsigned int cfg_key) |
Callback routine when a posting queue is started, i.e. made ready to receive events. | |
static void | postWrite (PostCtx *ctx, EDS_fwIxb *ixb) |
Callback routine to write an event to the post stream. | |
static int | postNotify (PostCtx *ctx, unsigned int mode, unsigned int active, const EDS_cfgInfo cfgs[32], const EDS_rsdTbl *rsdTbl) |
Routine to notify clients of a change in the handlers' configuration. | |
static int | postFlush (PostCtx *ctx, int reason) |
Callback routine for the event post que flushing. | |
static int | modeSelect (HandlerCtx *ctx, unsigned int mode, EDS_cfgInfo *info) |
Mode select routine for the toy handlers. | |
static void | msxConstruct (ModeSeqCtx *ctx, EDS_fw *fw, const ModeSeqSpec *mss, unsigned int handlers, unsigned int ostreams) |
Constructs a Mode Sequence Context from the Mode Sequence Specification. | |
static unsigned int | msxService (ModeSeqCtx *msx) |
Routine that is responsible for determining whether to do a mode switch for the next event. | |
static int | file_create (const char *name) |
Creates the output file. | |
Variables | |
static unsigned short int | Apids [4] |
The APIDs as a function of CPU number. |
$ lsep_write -n<# of events> -s<# to skip> <file.ebf>
CVS $Id: lsep_write.c,v 1.29 2011/03/26 23:32:30 russell Exp $
#define RND_TO | ( | _x, | |||
_r | ) | ((((_x) + (_r) -1) / (_r)) * (_r)) |
Rounds the specified number, _x up to the nearest multiple of _r.
_x | The number to round | |
_r | The number to round up to |
Typedef for struct _ModeSeqSpec.
static void addHandler | ( | HandlerCtx * | handler, | |
int | idx, | |||
const char * | s, | |||
unsigned int | reassemble | |||
) | [static] |
Parses and adds a handler.
handler | The handler context to complete | |
idx | Installation index, this fills the purpose of the handler's index in the LPA_DB master file | |
s | The parameter string | |
reassemble | The mask of contributors to reassemble |
References _HandlerCtx::cfgInfo, _HandlerCtx::cfgs, _HandlerCtx::hid, _HandlerCtx::needs, _HandlerCtx::objects, _HandlerCtx::reassemble, and _HandlerCtx::resultSize.
Referenced by fillCtl().
static void addOutputFile | ( | OutputFiles * | output, | |
const char * | s | |||
) | [static] |
Captures the names of the output files.
output | The output control structure | |
s | The command line parameter string. This must of one of the two following forms
|
References _OutputFiles::files, _OutputFiles::global, _OutputFiles::global_present, _File::name, and _OutputFiles::present.
Referenced by fillCtl().
unsigned int * buf_post | ( | void * | prm, | |
void * | buf, | |||
int | nbytes | |||
) | [static] |
Routine to write the data to a file.
prm | Arbitrary user parameter, here it is the file handle | |
buf | The buffer to output | |
nbytes | The size of the output buffer, in bytes. |
Referenced by post_handler_get().
unsigned int * ccsds_post | ( | void * | prm, | |
void * | buf, | |||
int | nbytes | |||
) | [static] |
Routine to write the data for the CCSDS ostream.
prm | Arbitrary user parameter, here it is the file handle | |
buf | The buffer to output | |
nbytes | The size of the output buffer, in bytes. |
Referenced by post_handler_get().
static CDFP_cfg * cdfp_cfg_allocate | ( | int | level | ) | [static] |
Sizes and allocates an CDFP configuration structure.
level | The desired compression level |
Referenced by fillCtl().
static ModeSeqSpec * constructMss | ( | const char * | s | ) | [static] |
Constructs a Mode Sequence Specification orders.
s | The string to parse |
References _ModeSeqSpec::cnt, count_chr(), DPRINTF, _ModeSeqSpec::mode, _ModeSeqSpec::nxt, and report_mss_err().
Referenced by fillCtl().
static PostSeqSpec * constructPss | ( | const char * | s | ) | [static] |
Constructs a list of Post Sequence Specification orders.
s | The string to parse |
References _PostSeqSpec::cnt, count_chr(), _PostSeqSpec::cpu, _PostSeqSpec::inc, _PostSeqSpec::nxt, _PostSeqSpec::refresh, and report_pss_err().
Referenced by fillCtl().
static LSE_timeFlagSpec * constructTfs | ( | const char * | s, | |
unsigned int * | flags | |||
) | [static] |
Constructs a Time Flag Specification orders.
s | The string to parse | |
flags | Filled in with the initial value of the timetone flags word. |
References count_chr(), and report_flag_err().
Referenced by fillCtl().
static __inline int count_chr | ( | const char * | s, | |
char | c | |||
) | [static] |
Counts the number of times c appears in the string s.
s | The string to examine | |
c | The character to count |
Referenced by constructMss(), constructPss(), and constructTfs().
unsigned int * dummy_post | ( | void * | prm, | |
void * | buf, | |||
int | nbytes | |||
) | [static] |
Dummy event posting routine.
prm | Arbitrary user parameter, ignored | |
buf | The buffer to output | |
nbytes | The size of the output buffer, in bytes. |
Referenced by post_handler_get().
unsigned int evt_handler | ( | HandlerCtx * | ctx, | |
unsigned int | pktBytes, | |||
void * | pkt, | |||
unsigned int | siv, | |||
EDS_fwIxb * | ixb, | |||
int | id | |||
) |
Dummy event handler.
EDS_FW_FN_M_OUTPUT | to force the event to be output |
ctx | Handler' context | |
pktBytes | Number of bytes in the packet, ignored | |
pkt | Pointer to the event data, ignored | |
siv | The State Information Vector, ignored | |
ixb | The Information Exchange Block | |
id | The EDS_fw id of this handler |
References _HandlerCtx::reassemble.
Referenced by output().
static unsigned int evt_lcbd_handler | ( | ModeSeqCtx * | msx, | |
unsigned int | edw, | |||
EBF_pkt * | pkt | |||
) | [static] |
LCBD event handler call back routine.
msx | The Mode Sequence Context | |
edw | Event descriptor word | |
pkt | Event packet |
References _ModeSeqCtx::fw, and msxService().
Referenced by output().
static int file_create | ( | const char * | name | ) | [static] |
static int fillCtl | ( | Ctl * | ctl, | |
int | argc, | |||
char *const | argv[] | |||
) | [static] |
Examines the command line parameters and fills the output control structure.
ctl | The parameter control block. | |
argc | The number of command line parameters. | |
argv | The array of pointers to the command line parameters. |
0,Everything | is okay. | |
-1,Incorrect | command usage. Usually this means that the input file name was absent. |
References addHandler(), addOutputFile(), Apids, _Ctl::buf_size, cdfp_cfg_allocate(), _Ctl::cfg, _Ctl::ckey, constructMss(), constructPss(), constructTfs(), _PostSeqSpec::cpu, _Ctl::ctb_ids, _Ctl::deadtime, _Ctl::dgn_ids, _OutputFiles::dnb, _CDFP_cfg::gem, getKeys(), getTime(), _OutputFiles::global, _OutputFiles::global_name, _OutputFiles::global_present, _Ctl::handlerCnt, _Ctl::handlerCtxs, _Ctl::hkey, _Ctl::iname, _PostSeqSpec::inc, initHandler(), _Ctl::latp_node, _Ctl::level, loadLib(), _Ctl::mss, _Ctl::nlcb, _PostSeqSpec::nxt, _Ctl::oname, _Ctl::output, parse(), _OutputFiles::present, _Ctl::pss, _PostSeqSpec::refresh, _Ctl::repeat, reportUsage(), _Ctl::runid, _Ctl::skey, _PostSeqSpec::stream, _Ctl::tfs, _Ctl::tim, _Ctl::tim_flags, _Ctl::to_process, _Ctl::to_skip, _Ctl::type, and _Ctl::verbose.
Referenced by main().
static void getKeys | ( | const char * | s, | |
unsigned int * | hkey, | |||
unsigned int * | skey, | |||
unsigned int * | ckey | |||
) | [static] |
Parses the input for hardware (LATC) and software (Boot Script) and configuration (LPA_DB) keys. The format is a comma separated list of up two three items of the form.
s | The string to parse | |
hkey | Returned as the hardware key | |
skey | Returned as the software key | |
ckey | Returned as the configuration key |
References reportUsage().
Referenced by fillCtl().
static unsigned int getNeeds | ( | HandlerCtx * | ctx | ) | [static] |
Returns the needs of this handler.
ctx | The handler's context |
References _HandlerCtx::needs.
Referenced by output().
static unsigned int getObjects | ( | HandlerCtx * | ctx | ) | [static] |
Returns the objects needed by this handler.
ctx | The handler's context |
References _HandlerCtx::objects.
Referenced by output().
static unsigned int getResultSize | ( | HandlerCtx * | ctx | ) | [static] |
Returns the needs of this handler.
ctx | The Handler context structure |
References _HandlerCtx::resultSize.
Referenced by output().
time_t getTime | ( | const char * | s | ) | [static] |
Parses an input time specification to produce a 32-bit time value.
s | The string to parse Fmt mm/dd/yy:hh:mm:ss |
Referenced by fillCtl().
static int initHandler | ( | HandlerCtx * | handler, | |
int | objects, | |||
unsigned int | reassemble | |||
) | [static] |
Initializes a default handler context.
handler | The handler context to initialize | |
objects | The list of additional objects to add | |
reassemble | The list of contributors to reassemble |
References _HandlerCtx::cfgInfo, _HandlerCtx::hid, _HandlerCtx::needs, _HandlerCtx::objects, and _HandlerCtx::reassemble.
Referenced by fillCtl().
static int loadLib | ( | const char * | library_name, | |
int | verbose | |||
) | [static] |
Dynamically loads the specified configuration library.
0,success | ||
-1,failure |
library_name | The name of the library to load | |
verbose | The verbosity level |
Referenced by fillCtl().
static LSEPW * lsepw_allocate | ( | int | level | ) | [static] |
Sizes and allocates an LSEPW control structure.
level | The desired compression level |
Referenced by postCtxConstruct().
int main | ( | int | argc, | |
char *const | argv[] | |||
) |
static int modeSelect | ( | HandlerCtx * | ctx, | |
unsigned int | mode, | |||
EDS_cfgInfo * | info | |||
) | [static] |
Mode select routine for the toy handlers.
ctx | The handler context | |
mode | The new operating mode | |
info | Returned as the configuration information for newly selected mode. |
References _HandlerCtx::cfgInfo, and _HandlerCtx::cfgs.
Referenced by output().
static void msxConstruct | ( | ModeSeqCtx * | msx, | |
EDS_fw * | fw, | |||
const ModeSeqSpec * | mss, | |||
unsigned int | handlers, | |||
unsigned int | ostreams | |||
) | [static] |
Constructs a Mode Sequence Context from the Mode Sequence Specification.
msx | The Mode Sequecne Context to construct | |
fw | The EDS framework handle, used to locate the object in the IXB and set as a handle in the constructed object | |
mss | The Mode Sequence Specification used to do the construction | |
handlers | The list of event handlers | |
ostreams | The list of output streams |
References _ModeSeqSpec::cnt, _ModeSeqCtx::cnt, _ModeSeqCtx::fw, _ModeSeqCtx::handlers, _ModeSeqSpec::mode, _ModeSeqCtx::mode, _ModeSeqCtx::mss, _ModeSeqSpec::nxt, and _ModeSeqCtx::ostreams.
Referenced by output().
static unsigned int msxService | ( | ModeSeqCtx * | msx | ) | [static] |
Routine that is responsible for determining whether to do a mode switch for the next event.
msx | The mode sequence context |
References _ModeSeqSpec::cnt, _ModeSeqCtx::cnt, _ModeSeqCtx::fw, _ModeSeqCtx::handlers, _ModeSeqSpec::mode, _ModeSeqCtx::mode, _ModeSeqCtx::mss, _ModeSeqSpec::nxt, and _ModeSeqCtx::ostreams.
Referenced by evt_lcbd_handler().
static unsigned int output | ( | Ctl * | ctl | ) | [static] |
Finishes the platform common setup and initalization, starts the packet flow.
ctl | The control structure |
References _Ctl::ckey, _Ctl::ctb_ids, _Ctl::dgn_ids, evt_handler(), evt_lcbd_handler(), getNeeds(), getObjects(), getResultSize(), _Ctl::handlerCnt, _Ctl::handlerCtxs, _Ctl::hkey, _Ctl::iname, _Ctl::latp_node, _ModeSeqSpec::mode, modeSelect(), _Ctl::mss, msxConstruct(), postCtxConstruct(), postFlush(), postNotify(), postStart(), postWrite(), _Ctl::repeat, _Ctl::runid, _Ctl::tfs, _Ctl::tim, _Ctl::tim_flags, _Ctl::to_process, _Ctl::to_skip, and _Ctl::type.
Referenced by main().
static void parse | ( | FileNamBlk * | nam, | |
const char * | filename, | |||
unsigned int | opts | |||
) | [static] |
Breaks a file name into its components.
filename | The file name to break down | |
nam | The name block to fill in | |
opts | A bit options mask,
|
References _FileNamBlk::dir, _FileNamBlk::ext, _StrDsc::len, _FileNamBlk::nam, and _StrDsc::ptr.
Referenced by fillCtl().
static PostHandler post_handler_get | ( | int | fd, | |
int | no_ccsds | |||
) | [static] |
Sets up the physical posting routine plus its context parameter.
fd | The output file descriptor, may be 0 | |
no_ccsds | Whether on wants the output not packetized as CCSDS |
References buf_post(), ccsds_post(), dummy_post(), _PostHandler::prm, and _PostHandler::rtn.
Referenced by postCtxConstruct().
Constructs the posting context.
==0,Success | ||
!=0,Error |
ctx | The posting context to construct | |
ctl | The control block; acts as the source of the configuration information |
References _PostCtx::active, Apids, _Ctl::buf_size, _Ctl::cfg, _PostSeqSpec::cnt, _PostSeqSpec::cpu, _OutputFiles::dnb, file_create(), _OutputFiles::files, _OutputFiles::global_name, _OutputFiles::global_present, _PostSeqSpec::inc, _Ctl::level, lsepw_allocate(), _File::name, _Ctl::nlcb, _PostSeqSpec::nxt, _Ctl::output, post_handler_get(), _OutputFiles::present, _PostHandler::prm, _PostStream::prm, _PostCtx::pss, _Ctl::pss, _PostSeqSpec::refresh, _PostHandler::rtn, _PostStream::services, _Ctl::skey, _PostSeqSpec::stream, and _PostCtx::streams.
Referenced by output().
static int postFlush | ( | PostCtx * | ctx, | |
int | reason | |||
) | [static] |
Callback routine for the event post que flushing.
Status 0, success, anything else failure
ctx | The posting context | |
reason | The reason for flushing the ques |
References _PostCtx::active, _PostStream::prm, _PostStream::services, and _PostCtx::streams.
Referenced by output().
static int postNotify | ( | PostCtx * | ctx, | |
unsigned int | mode, | |||
unsigned int | active, | |||
const EDS_cfgInfo | cfgs[32], | |||
const EDS_rsdTbl * | rsdTbl | |||
) | [static] |
Routine to notify clients of a change in the handlers' configuration.
ctx | The posting context | |
mode | The new mode | |
active | List of the currently active handlers | |
cfgs | The array of configurations, indexed by handler number | |
rsdTbl | The table of result summary data table |
References _PostCtx::active, _PostStream::prm, _PostStream::services, and _PostCtx::streams.
Referenced by output().
static int postStart | ( | PostCtx * | ctx, | |
int | reason, | |||
unsigned int | run_id, | |||
unsigned int | startTime, | |||
unsigned int | mode, | |||
unsigned int | hw_key, | |||
unsigned int | cfg_key | |||
) | [static] |
Callback routine when a posting queue is started, i.e. made ready to receive events.
ctx | Post context parameter | |
reason | Suggested use is to indicate why the post stream is being started | |
run_id | Suggested use is to identify the block of events between when EDS_fwStart is called and EDS_fwFlush is called with a stop reason | |
startTime | The run start time rounded to the nearest second | |
mode | This must be the running mode. | |
hw_key | The hardware configuration file key | |
cfg_key | The software configuration file key. This likely a reference to how event handlers to EDS here configured (perhaps the LPA_DB key). |
References _PostCtx::active, _PostStream::prm, _PostStream::services, and _PostCtx::streams.
Referenced by output().
static void postWrite | ( | PostCtx * | ctx, | |
EDS_fwIxb * | ixb | |||
) | [static] |
Callback routine to write an event to the post stream.
ctx | The post context parameter | |
ixb | The framework's Information Exchange Block |
References _PostSeqSpec::cnt, _PostSeqSpec::cpu, _PostSeqSpec::inc, _PostSeqSpec::nxt, _PostStream::prm, _PostCtx::pss, _PostSeqSpec::refresh, _PostStream::services, and _PostSeqSpec::stream.
Referenced by output().
static void report_flag_err | ( | const char * | reason, | |
const char * | s, | |||
int | count | |||
) | [static] |
Issue an error message when the parsing of the flag sequence options string is not specified correctly.
reason | A string representing the reason | |
s | The mis-specified string | |
count | The count (index into the string) where the error occurred |
Referenced by constructTfs().
static void report_mss_err | ( | const char * | reason, | |
const char * | s, | |||
int | count | |||
) | [static] |
Issue an error message when the parsing of the flag sequence options string is not specified correctly.
reason | A string representing the reason | |
s | The mis-specified string | |
count | The count (index into the string) where the error occurred |
Referenced by constructMss().
static void report_pss_err | ( | const char * | reason, | |
const char * | s, | |||
int | count | |||
) | [static] |
Issue an error message when the parsing of the Posting sequence options string is not specified correctly.
reason | A string representing the reason | |
s | The mis-specified string | |
count | The count (index into the string) where the error occurred |
Referenced by constructPss().
static unsigned short int Apids[4] [static] |
Initial value:
{ APID_K_BASE + 1, APID_K_BASE + 2, APID_K_BASE + 3, APID_K_BASE }
Referenced by fillCtl(), and postCtxConstruct().