GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-9-2

Constituent: file_hdr_prefix     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

file_hdr_prefix.c File Reference

Executable to prefix file header to existing file. More...

#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "fcntl.h"
#include "unistd.h"
#include "sys/stat.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "ZLIB/zlib.h"
#include "FBS/FBS_pubrtos.h"
#include "FBS/FBS_swap.h"
#include "FILE/file_hdr_prefix.h"

Include dependency graph for file_hdr_prefix.c:


Functions

int file_hdr_prefix (const char *inName, const char *outName, int compress, unsigned int key, unsigned short type, unsigned int timestamp, char *name)
int main (int argc, char **argv)

Variables

static const char * usage

Detailed Description

Executable to prefix file header to existing file.

Author:
D.L. Wood

Function Documentation

int file_hdr_prefix const char *  inName,
const char *  outName,
int  compress,
unsigned int  key,
unsigned short  type,
unsigned int  timestamp,
char *  name
 

Prefixes LAT file header to existing file and writes output.

Parameters:
inName The name of the input file.
outName The name of the output file.
compress 0 = file not compressed, 1 = file compressed
key The file key value.
type The file type number.
timestamp The file timestamp value.
name The file embedded name string.
Return values:
0 Success.
-1 Failure.

int main int  argc,
char **  argv
 

The UNIX application entry point. Parses command line options.

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


Variable Documentation

usage [static]
 

Initial value:

 
        "file_hdr_prefix [-c] [-k <key>] [-t <type>] [-n <name>] [-s <timestamp>] <in_file> <out_file>\n"
The command line usage string.


Generated on Tue Nov 8 21:51:04 2005 by  doxygen 1.4.4