GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
MSG / V3-0-3
Constituent: msg_mt     Tag: linux-gcc
Interface Data Structures File List Data Fields Globals
MSG_configure.c File Reference
Start MSG based on configuration files. More...
#include "CMX/CMX_lookupPub.h"
#include "CDM/CDM_pubdefs.h"
#include "PBS/TASK.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "MSG_DB/MSG_DB_schema.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_msgs.h"
Include dependency graph for MSG_configure.c:
|
Functions |
unsigned int | MSG_configure () |
| Configure and start the MSG task.
|
Detailed Description
Start MSG based on configuration files.
CVS $Id: MSG_configure.c,v 1.3 2005/09/22 01:45:07 apw Exp $
- Author:
- A.P.Waite
MSG_configure.c provides the entry point MSG_configure() which knows how to start the MSG system based on the contents of the CDM configuration files MSG_DB (MSG specific configuration), and CPU_DB (CPU wide parameters such as task name and task priority).
Function Documentation
unsigned int MSG_configure |
( |
void |
|
) |
|
|
|
Configure and start the MSG task.
- Return values:
-
| MSG_ALOCFAIL | Fixed packet allocator (FPA) buffer allocation failed |
| MSG_BADSTATE | Cannot initialize in the current MSG state |
| MSG_CFGNTFND | Configuration database not found |
| MSG_FINDFAIL | Cannot look up up alternate messages in database |
| MSG_FORKFAIL | FORK initialization failed |
| MSG_FPAGFAIL | Fixed packet allocator get failed during task start |
| MSG_FPAIFAIL | Fixed packet allocator (FPA) initialization failed |
| MSG_MUALOCFL | Cannot allocate a mutex |
| MSG_PKT2FEW | Packet count parameter too small |
| MSG_PKT2SMAL | Packet length parameter too small |
| MSG_SUCCESS | Success |
MSG_configure() configures MSG. It reads configuration database files to perform the MSG_initialize(), MSG_attachOutputRtn() and MSG_startTask() functions. If the configuration databases can't be found, MSG will still do its best to start up a message task based on an internal default configuration. |
Generated on Fri Nov 18 03:07:11 2005 by
1.4.4