GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-2
Constituent: msg2src     Tag: linux-gcc
msg2src
command.
More...
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "MDB/MDB_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "MSG/MSG_msgs.h"
#include "M2S_msgs.h"
#include "MSG_m2sdefs.h"
Include dependency graph for msg2src.c:
Data Structures | |
struct | _MSG_Qualifier |
Standard structure for describing a command qualifier. More... | |
Defines | |
#define | MSG_FILE_HED ( 0 ) |
Index for a .h file. | |
#define | MSG_FILE_SRC ( 1 ) |
Index for a .c file. | |
#define | MSG_FILE_MSG ( 2 ) |
Index for a .msg file. | |
#define | MSG_FILE_MAX ( 3 ) |
Number of file indices supported. | |
Typedefs | |
typedef _MSG_Qualifier | MSG_Qualifier |
Typedef for struct _MSG_Qualifier. | |
Functions | |
unsigned int | abbrev (const char *left, unsigned int llen, const char *rite, unsigned int rlen, unsigned int min) |
Test a string for being a minimally long abbreviation of another. | |
unsigned int | parseArg (int *pcnt, char *parm[], unsigned int qcnt, MSG_Qualifier *qlst) |
Identify parameters and qualifiers in arguments. | |
unsigned int | writeHeader (MSG_FacDefinition *fac, char *file) |
Write out a .h file. | |
unsigned int | writeSource (MSG_FacDefinition *fac, char *file) |
Write out a .c file. | |
int | main (int pcnt, char *parm[]) |
Program to 'compile' a .msg file. | |
Variables | |
const char * | s_few = "few" |
The string "few". | |
const char * | s_many = "many" |
The string "many". | |
const char * | cext [MSG_FILE_MAX] = { ".h", ".c", ".msg" } |
File suffixes corresponding to file indices. |
msg2src
command.
CVS $Id: msg2src.c,v 1.7 2005/09/22 01:45:07 apw Exp $
|
Test a string for being a minimally long abbreviation of another.
|
|
Program to 'compile' a .msg file.
|
Here is the call graph for this function:
|
Identify parameters and qualifiers in arguments.
|
Here is the call graph for this function:
|
Write out a .h file.
|
|
Write out a .c file.
|