GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LHK / V11-4-2

Constituent: lhk_cfg_show     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

lhk_cfg_show.c File Reference

Display contents of binary LHK configuration file. More...

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "fcntl.h"
#include "unistd.h"
#include "time.h"
#include "PBI/Endianness.h"
#include "PBS/MBA.h"
#include "PBS/BSWP.h"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "FBS/FBS_pubrtos.h"
#include "FBS/FBS_swap.h"
#include "FILE/file_hdr_show.h"
#include "ZLIB/zlib.h"
#include "LHK_cfg_p.h"
#include "LHK_bswp_p.h"

Include dependency graph for lhk_cfg_show.c:


Defines

#define ASCTIME(_tstruct, _str, _size)   asctime_r((_tstruct), (_str), (_size))

Functions

static unsigned int read_cfg (const char *filename)
 Reads configuration file data.
static unsigned int LHK_show_lim (const void *mem)
static unsigned int LHK_show_sched (const void *mem)
int main (int argc, char **argv)

Detailed Description

Display contents of binary LHK configuration file.

Author:
Sergio Maldonado -- smaldona@slac.stanford.edu

Define Documentation

#define ASCTIME _tstruct,
_str,
_size   )     asctime_r((_tstruct), (_str), (_size))
 

Portable call to asctime_r() function.


Function Documentation

static unsigned int LHK_show_lim const void *  mem  )  [static]
 

Limit table show routine

Parameters:
mem Data buffer
Return values:
0 Success.
-1 Failure.

static unsigned int LHK_show_sched const void *  mem  )  [static]
 

Scheduler show routine

Parameters:
mem Data buffer
Return values:
0 Success.
-1 Failure.

int main int  argc,
char **  argv
 

UNIX entry point for application.

Parameters:
argc The number of command line args.
argv Pointers to the command line args.
Return values:
0 Success.
-1 Failure.

static unsigned int read_cfg const char *  filename  )  [static]
 

Reads configuration file data.

Parameters:
filename file name
Returns:
0 on success


Generated on Tue Aug 14 03:21:06 2007 by  doxygen 1.4.4