GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-2-1

Constituent: lcs     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCS_control.c File Reference

Management of the LCS master control block. More...

#include <string.h>
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_msgs.h"
#include "LCS/LCS_pubdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"

Include dependency graph for LCS_control.c:

Include dependency graph

Functions

unsigned int LCS_initialize (LCS_NodeAddress deprecated)
 Initialize the LCS master control block.

unsigned int LCS_shutdown ()
 Shut down the LCS master control block and release resources.


Variables

LCS_ControlLCS_lcb
 Master control block for the LCS system.

const char * LCS_ctl_states [LCS_L_CTL_STATES]
 String constants for LCS control block states.

const char * LCS_svc_states [LCS_L_SVC_STATES]
 String constants for LCS service block states.


Detailed Description

Management of the LCS master control block.

CVS $Id: LCS_control.c,v 1.7 2005/09/08 03:54:13 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LCS_initialize LCS_NodeAddress  deprecated  ) 
 

Initialize the LCS master control block.

Parameters:
deprecated (in) This parameter is no longer used (ignored)
Return values:
LCS_ALOCFAIL Memory allocation failure
LCS_CTLSTAT Invalid control state for this operation
LCS_MUALOCFL Mutex allocation failure
LCS_SUCCESS Success
LCS_initialize() initializes the LCS master control block.

unsigned int LCS_shutdown void   ) 
 

Shut down the LCS master control block and release resources.

Return values:
LCS_CTLSTAT Invalid control state for this operation
LCS_NOTINT Control block not initialized
LCS_SUCCESS Success
LCS_shutdown() shuts down the LCS master control block and releases assocoated resources


Variable Documentation

const char* LCS_ctl_states[LCS_L_CTL_STATES]
 

Initial value:

{
    "uninitialized",
    "initialized"
}
String constants for LCS control block states.

LCS_Control* LCS_lcb
 

Master control block for the LCS system.

Master control block for the LCS system. This is global, so care must be taken when writing elements of this block that the code is properly protected.

const char* LCS_svc_states[LCS_L_SVC_STATES]
 

Initial value:

{
    "uninitialized",
    "initialized",
    "started",
    "stopping"
}
String constants for LCS service block states.


Generated on Tue Sep 20 21:38:17 2005 by doxygen 1.3.3