Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

pathDelims.cxx File Reference

#include <string.h>
#include "pathDelims.h"

Include dependency graph for pathDelims.cxx:

Include dependency graph

Go to the source code of this file.

Functions

char * convertPathDelimsToWindows (char *fileName)
char * convertPathDelimsToUnix (char *fileName)


Function Documentation

char* convertPathDelimsToUnix char *  fileName  ) 
 

Definition at line 55 of file pathDelims.cxx.

References pathDelimUnix, and pathDelimWindows.

00056 {
00057     if (fileName==NULL) return NULL;
00058     unsigned i, len=strlen(fileName);
00059     for(i=0;i<len;i++)
00060         if (fileName[i]==pathDelimWindows) fileName[i]=pathDelimUnix;
00061         return fileName;
00062 }

char* convertPathDelimsToWindows char *  fileName  ) 
 

Definition at line 46 of file pathDelims.cxx.

References pathDelimUnix, and pathDelimWindows.

00047 {
00048     if (fileName==NULL) return NULL;
00049     unsigned i, len=strlen(fileName);
00050     for(i=0;i<len;i++)
00051         if (fileName[i]==pathDelimUnix) fileName[i]=pathDelimWindows;
00052         return fileName;
00053 }


Generated on Mon Apr 25 01:12:08 2005 for Parquete by doxygen 1.3.2