GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-2
Constituent: msg2src     Tag: linux-gcc
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "M2S_msgs.h"
#include "MSG_m2sdefs.h"
Include dependency graph for MSG_readMsg.c:
Defines | |
#define | MSG_TOKEN_DONTCARE 0 |
Quoted or unquoted. | |
#define | MSG_TOKEN_NOQUOTE 1 |
Token must not be quoted. | |
#define | MSG_TOKEN_QUOTE 2 |
Token must be quoted. | |
#define | MSG_TOKEN_ABSENT 3 |
Token must be absent. | |
#define | MSG_K_SPECIAL 31 |
Number of special characters in formatting statements. | |
Enumerations | |
enum | _MSG_filemode { MSG_FM_FACILITY, MSG_FM_MESSAGES } |
File searching mode. More... | |
Functions | |
unsigned int | nextToken (char *fmsg, int lnum, char *lbeg, char *lcur, char *lend, char **tbeg, char **tend, int flag) |
Return pointers to the next token on a line. | |
unsigned int | parseFacility (MSG_FacDefinition *fac, char *fmsg, int lnum, char *lbeg, char *lcur, char *lend) |
Parse the facility name. | |
unsigned int | parseMessage (MSG_FacDefinition *fac, char *fmsg, int lnum, char *lbeg, char *lend) |
Parse a message line. | |
unsigned int | parseText (unsigned int *nsub, unsigned int *fsub, char *fmsg, int lnum, char *lbeg, char *tbeg, char *tend) |
Parse a formatting string. | |
void | printError (char *fmsg, int lnum, char *msg, char *lbeg, char *tloc) |
Error during parsing of .msg file ... indicate location. | |
unsigned int | MSG_readMsg (MSG_FacDefinition *fac, char *fmsg) |
Read a .msg file. | |
Variables | |
const char | s_upper [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
The upper case alphabet. | |
const char | s_allow [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" |
The character set allowed in message name. | |
const char | s_severity [] = "SWIE" |
Allowed severity characters in correct severity code order. |
CVS $Id: MSG_readMsg.c,v 1.6 2005/09/22 01:45:07 apw Exp $
|
File searching mode.
|
|
Read a .msg file.
|
Here is the call graph for this function:
|
Return pointers to the next token on a line.
|
Here is the call graph for this function:
|
Parse the facility name.
|
Here is the call graph for this function:
|
Parse a message line.
|
Here is the call graph for this function:
|
Parse a formatting string.
|
Here is the call graph for this function:
|
Error during parsing of .msg file ... indicate location.
|