/******************************************************************************
* Module    :   File name utilities.
*
* Author    :   John W. M. Stevens
******************************************************************************/

#if ! defined(MOD_FL_NM_HEADER)
#define MOD_FL_NM_HEADER

/*  Define maximum base and extension file name string lengths.
*   Currently, as MS-DOS is the most restrictive, names will tested
*   for fit into MS-DOS length restrictions.
*/
#define MAX_FILE            8
#define MAX_EXT             3
#define EXT_SEP_CHAR        '.'

/*  Function prototypes.    */
extern
void    FlNmFilter(char     *FlName);

extern
int     ModifyFlNm(char         *FlName,
                   char         *Ext,
                   char         *OutName);
extern
void    ModExten(char   *FlName,
                 char   *Exten,
                 char   *OutFlNm);

#endif


syntax highlighted by Code2HTML, v. 0.9.1