blob: 4323a83370200faa223fcbadb877acf039fe3477 [file] [log] [blame]
#if WIN32
#include <io.h>
#else
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#endif
#include "AxisConfiguration.hpp"
bool ReadFilenamesInaDirectory( char * pszDirName, LIST * psFileNameList);
void WriteAxisConfigFile( LIST * psDLLNames, int * piConfigInfoArray, CHOICELIST * psChoiceList, bool bMerge, char * pszAxisCpp_Deploy, char cSlash, bool bBackup);
bool BackUpExistingConfigFile( char * pszAxisCpp_Deploy, char * pszFilename, char cSlash);
void WriteLineToFile( FILE * pFile, char * pszData);
long GetFileLength( FILE * pFile);
long ReadFileContents( char * pszFilename, char ** ppszData);