inc/filePath.h

Go to the documentation of this file.
00001 /* filePath - stuff to handle file name parsing. */
00002 #ifndef FILEPATH_H
00003 #define FILEPATH_H
00004 
00005 void splitPath(char *path, char dir[256], char name[128], char extension[64]);
00006 /* Split a full path into components.  The dir component will include the
00007  * trailing / if any.  The extension component will include the starting
00008  * . if any.   Pass in NULL for dir, name, or extension if you don't care about
00009  * that part. */
00010 
00011 char *expandRelativePath(char *baseDir, char *relPath);
00012 /* Expand relative path to more absolute one. */
00013 
00014 void undosPath(char *path);
00015 /* Convert '\' to '/' in path. (DOS/Windows is typically ok with
00016  * this actually.) */
00017 
00018 #endif /* FILEPATH_H */

Generated on Tue Dec 25 18:39:29 2007 for blat by  doxygen 1.5.2