]> andersk Git - splint.git/blobdiff - src/Headers/flags.h
Fixed problem with NULL being changed.
[splint.git] / src / Headers / flags.h
index 925113452417e4ea80f3e04e0a7d3163b8301abd..ac362ada38c674defc54ed860e8c014d67858c4e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -42,13 +42,15 @@ extern /*@only@*/ cstring  describeFlag (cstring p_flagname);
 extern flagcode flags_identifyFlag (cstring p_s) /*@modifies g_warningstream@*/ ;
 extern flagcode flags_identifyFlagQuiet (cstring p_s) /*@modifies nothing@*/ ;
 
-extern void setValueFlag (flagcode p_opt, cstring p_arg);
-extern void setStringFlag (flagcode p_opt, /*@only@*/ cstring p_arg);
+extern void flags_setValueFlag (flagcode p_opt, /*@only@*/ cstring p_arg);
+extern void flags_setStringFlag (flagcode p_opt, /*@only@*/ cstring p_arg);
 
 extern /*@observer@*/ cstring flagcode_unparse (flagcode p_code) /*@*/ ;
 extern int flagcode_valueIndex (flagcode p_f) /*@*/ ;
 extern int flagcode_stringIndex (flagcode p_f) /*@*/ ;
 
+extern int flagcode_priority (flagcode p_code) /*@*/ ;
+
 extern bool flagcode_equal (flagcode p_code1, flagcode p_code2) /*@*/ ;
 # define flagcode_equal(c1, c2) ((c1) == (c2))
 
@@ -93,6 +95,7 @@ extern bool flagcode_hasArgument (flagcode p_f) /*@*/ ;
 
 extern bool flags_isModeName (cstring p_s) /*@*/ ;
 extern /*@only@*/ cstring describeModes (void) /*@modifies g_messagestream@*/ ;
+extern /*@only@*/ cstring describeMode (/*@temp@*/ cstring p_mode) /*@*/ ;
 extern void summarizeErrors (void) /*@modifies g_messagestream@*/ ;
 
 extern bool flagcode_isNameChecksFlag (flagcode p_f) /*@*/ ;
@@ -112,7 +115,8 @@ flags_processFlags (bool p_inCommandLine,
                    fileIdList p_lclfiles,
                    fileIdList p_mtfiles,
                    cstringList *p_passThroughArgs,
-                   int p_argc, /*@null@*/ char **p_argv)
+                   int p_argc, 
+                   /*@null@*/ char **p_argv)
      /*@requires maxRead(p_argv) >= (p_argc - 1) @*/
      /* returns true if normal, false if execution should exit */ ;
 
This page took 0.735318 seconds and 4 git commands to generate.