GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-0

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 "MSG_DB/MSG_DB_schema.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_msgs.h"

Include dependency graph for MSG_configure.c:

Include dependency graph

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.1 2005/07/16 19:46:32 apw Exp $
Author:
A.P.Waite
MSG_configure.c provides the entry points MSG_configure() and MSG_start() which know how to start the MSG system based on the contents of configuration files.

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.

Here is the call graph for this function:


Generated on Sun Jul 17 09:55:07 2005 by doxygen 1.3.3