GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-8-1

Constituent: file_scp     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

FILE_path.h File Reference

File Path Utility Library. More...

#include "FILE/FILE_path_msg.h"
#include "FILE/FILE_defs.h"
#include <sys/types.h>

Include dependency graph for FILE_path.h:

This graph shows which files directly or indirectly include this file:


Defines

#define FILE_M_MODULE   ( 0x0200 )
 Module number in the errno sense.
#define FILE_S_SUCCESS   ( FILE_M_MODULE | 0x0000 )
 File opened successfully (not a read-only request).
#define FILE_S_NOHED   ( FILE_M_MODULE | 0x0004 )
 File opened successfully (no FSW header found).
#define FILE_S_HEDNOCMP   ( FILE_M_MODULE | 0x0008 )
 File opened successfully (FSW header found, file not compressed).
#define FILE_S_HEDCMP   ( FILE_M_MODULE | 0x000c )
 File opened successfully (FSW header found, file compressed).
#define FILE_E_CORRUPT   ( FILE_M_MODULE | 0x0003 )
 File open failed (the adler32 checksum of the body failed).
#define FILE_E_NOMKDIR   ( FILE_M_MODULE | 0x0007 )
 File open failed (could not create directory for temporary file).
#define FILE_E_NOSLOT   ( FILE_M_MODULE | 0x000b )
 File open failed (no more slots to store temporary file info).
#define FILE_E_NOTMPOPN   ( FILE_M_MODULE | 0x000f )
 File open failed (could not open temporary file).
#define FILE_E_NOINFLAT   ( FILE_M_MODULE | 0x0013 )
 File open failed (inflation step failed).
#define FILE_E_NOREOPEN   ( FILE_M_MODULE | 0x0017 )
 File open failed (could not reopen temporary file read-only).

Functions

unsigned int FILE_pathInit (const char *usrName5, const char *usrName6)
 Initialize the file path mapping library.
unsigned int FILE_pathSizeof (void)
 Get the size of a file path string.
unsigned int FILE_pathIdToNum (unsigned int id, unsigned int *dev, unsigned int *dir, unsigned int *file)
 Translates a file ID word into component numbers.
unsigned int FILE_pathNumToId (unsigned int *id, unsigned int dev, unsigned int dir, unsigned int file)
 Translates file component numbers to an ID word.
unsigned int FILE_pathIdToPath (unsigned int id, char *str)
 Translates file ID word to an ASCII path name.
int FILE_close (int fd)
 Close a FSW file (regular, headed/not-headed, compressed/not-compressed).
int FILE_open (const char *fil, int flg, mode_t mod)
 Open a FSW file (regular, headed/not-headed, compressed/not-compressed).

Detailed Description

File Path Utility Library.

Author:
D.L. Wood
This library contains functions for manipulating LAT file ID and path elements.
Generated on Tue Oct 25 22:24:01 2005 by  doxygen 1.4.4