Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gfile.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
#include <sys/types.h>
#include "gtypes.h"

Include dependency graph for gfile.h:

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

Go to the source code of this file.

Defines

#define dirent   direct
#define NAMLEN(d)   (d)->d_namlen

Functions

GStringgetHomeDir ()
GStringgetCurrentDir ()
GStringappendToPath (GString *path, char *fileName)
GStringgrabPath (char *fileName)
GBool isAbsolutePath (char *path)
GStringmakePathAbsolute (GString *path)
time_t getModTime (char *fileName)
GBool openTempFile (GString **name, FILE **f, char *mode, char *ext)
char * getLine (char *buf, int size, FILE *f)


Define Documentation

#define dirent   direct
 

Definition at line 36 of file gfile.h.

Referenced by chooseRandomFile(), QTReaderApp::listBkmkFiles(), QTReaderApp::PopulateConfig(), AdvancedFm::populateView(), and QDir::readDirEntries().

#define NAMLEN  )     (d)->d_namlen
 

Definition at line 37 of file gfile.h.


Function Documentation

GString* appendToPath GString path,
char *  fileName
 

Definition at line 28 of file gooStub.cpp.

Referenced by GlobalParams::findCMapFile(), GlobalParams::findFontFile(), GlobalParams::findToUnicodeFile(), and GlobalParams::GlobalParams().

GString* getCurrentDir  ) 
 

GString* getHomeDir  ) 
 

Definition at line 65 of file util.cpp.

References QDir::home(), and Opie::Internal::string().

char* getLine char *  buf,
int  size,
FILE *  f
 

Definition at line 26 of file gooStub.cpp.

Referenced by UnicodeMap::parse(), and CharCodeToUnicode::parseCIDToUnicode().

time_t getModTime char *  fileName  ) 
 

GString* grabPath char *  fileName  ) 
 

Referenced by GlobalParams::GlobalParams().

GBool isAbsolutePath char *  path  ) 
 

GString* makePathAbsolute GString path  ) 
 

GBool openTempFile GString **  name,
FILE **  f,
char *  mode,
char *  ext
 

Definition at line 32 of file gooStub.cpp.

References gFalse, gTrue, p, and s.

Referenced by LZWStream::reset().


Generated on Sat Nov 5 17:18:09 2005 for OPIE by  doxygen 1.4.2