]> andersk Git - splint.git/blame - src/Headers/fileLib.h
Fixed creation of temp files.
[splint.git] / src / Headers / fileLib.h
CommitLineData
28bf4b0b 1/*
2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
3** See ../LICENSE for license information.
4**
5*/
6/*
7** fileLib.h
8*/
9
10# ifndef FILELIB_H
11# define FILELIB_H
12
13extern bool fileLib_isLCLFile (cstring p_s) /*@*/ ;
14extern bool fileLib_isCExtension (cstring p_ext) /*@*/ ;
15
16extern cstring fileLib_addExtension (cstring p_s, cstring p_suffix);
17extern cstring fileLib_withoutExtension (cstring p_s, cstring p_suffix) /*@*/ ;
18
19# ifndef NOLCL
20extern cstring fileLib_removePath (cstring p_s) /*@*/ ;
21# endif
22
23extern cstring fileLib_removePathFree (/*@only@*/ cstring p_s) /*@*/ ;
24extern cstring fileLib_removeAnyExtension (cstring p_s) /*@*/ ;
25extern cstring fileLib_cleanName (cstring p_s) /*@*/ ;
26extern bool fileLib_hasExtension (cstring p_s, cstring p_ext) /*@*/ ;
27
28extern /*@observer@*/ cstring
29 fileLib_getExtension (/*@returned@*/ cstring p_s) /*@*/ ;
30
31/*@constant observer cstring MTS_EXTENSION;@*/
32# define MTS_EXTENSION cstring_makeLiteralTemp (".mts")
33
34/*@constant observer cstring LCL_EXTENSION;@*/
35# define LCL_EXTENSION cstring_makeLiteralTemp (".lcl")
36
37/*@constant observer cstring LH_EXTENSION; @*/
38# define LH_EXTENSION cstring_makeLiteralTemp (".lh")
39
40/*@constant observer cstring C_EXTENSION; @*/
41# define C_EXTENSION cstring_makeLiteralTemp (".c")
42
28bf4b0b 43/*@constant observer cstring XH_EXTENSION;@*/
44# define XH_EXTENSION cstring_makeLiteralTemp (".xh")
45
68de3f33 46/* C files that have already been preprocessed */
47/*@constant observer cstring PP_EXTENSION;@*/
48# define PP_EXTENSION cstring_makeLiteralTemp (".pp")
49
28bf4b0b 50# endif
This page took 0.090701 seconds and 5 git commands to generate.