GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LIM / V1-19-3

Constituent: lim_unit_test_lpa     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

lim_util_lpa.c File Reference

Emulate some LPA functions. More...

#include "ITC/ITC_pubdefs.h"
#include "LIM/LIM_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "lim_util_sim.h"

Include dependency graph for lim_util_lpa.c:


Functions

void LPA_fail_next_bulk (void)
 Indicate that next message to the LPA BULK queue should fail.
static void lpa_free_bulk (ITC_QueueItem *qitem_p, unsigned int status_in, void *parm_0, void *parm_1, void *parm_2, unsigned int tx)
 Free a packet sent to the LPA bulk queue.
unsigned int LPA_gbm_int (void)
 Emulate the LPA_gbm_int() function.
unsigned int LPA_set_mode (unsigned int mode)
 Emulate the LPA_set_mode() function.

Variables

static int Lpa_Fail_Next_Bulk = 0
 Flag to indicate that next msg to the LPA BULK queue should fail.

Detailed Description

Emulate some LPA functions.

**  CVS $Id: lim_util_lpa.c,v 1.5 2007/12/16 22:56:37 dmay Exp $
**  

Function Documentation

void LPA_fail_next_bulk void   ) 
 

Indicate that next message to the LPA BULK queue should fail.

Returns:
Nothing.

void lpa_free_bulk ITC_QueueItem *  qitem_p,
unsigned int  status_in,
void *  parm_0,
void *  parm_1,
void *  parm_2,
unsigned int  tx
[static]
 

Free a packet sent to the LPA bulk queue.

Parameters:
qitem_p Pointer to queue item.
status_in Completion code.
parm_0 Callback parameter 0 (pointer to queue item).
parm_1 Callback parameter 1 (unused).
parm_2 Callback parameter 2 (unused).
tx Flag indicating sender-side failure (unused).
Returns:
Nothing.

unsigned int LPA_gbm_int void   ) 
 

Emulate the LPA_gbm_int() function.

Returns:
MSG code.

unsigned int LPA_set_mode unsigned int  mode  ) 
 

Emulate the LPA_set_mode() function.

Parameters:
mode New mode.
Returns:
MSG code.


Generated on Sun Aug 31 01:34:28 2008 by  doxygen 1.4.4