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