]> andersk Git - splint.git/blame - src/Headers/mtTransferAction.h
Created html faq file to replace the faq.txt
[splint.git] / src / Headers / mtTransferAction.h
CommitLineData
28bf4b0b 1/*
c0de361f 2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
28bf4b0b 3** See ../LICENSE for license information.
4**
5*/
6/*
7** mtTransferAction.h
8*/
9
10# ifndef MTTRANSFERACTION_H
11# define MTTRANSFERACTION_H
12
13struct s_mtTransferAction {
14 enum { MTAK_VALUE, MTAK_ERROR } kind;
15 cstring value; /* for MTAK_VALUE only */
16 cstring message;
17 fileloc loc;
18} ;
19
20extern void mtTransferAction_free (/*@only@*/ mtTransferAction p_node) ;
21
22extern cstring mtTransferAction_unparse (mtTransferAction p_node) /*@*/ ;
23
24extern mtTransferAction
25mtTransferAction_createValue (/*@only@*/ mttok p_value) /*@*/ ;
26
27extern /*@observer@*/ cstring mtTransferAction_getValue (mtTransferAction) /*@*/ ;
28# define mtTransferAction_getValue(node) ((node)->value)
29
30extern /*@observer@*/ fileloc mtTransferAction_getLoc (mtTransferAction) /*@*/ ;
31# define mtTransferAction_getLoc(node) ((node)->loc)
32
33extern /*@observer@*/ cstring mtTransferAction_getMessage (mtTransferAction) /*@*/ ;
34
35extern bool mtTransferAction_isError (mtTransferAction) /*@*/ ;
36# define mtTransferAction_isError(node) ((node)->kind == MTAK_ERROR)
37
38extern mtTransferAction mtTransferAction_createError (/*@only@*/ mttok) /*@*/ ;
39
40extern mtTransferAction
41mtTransferAction_createErrorMessage (/*@only@*/ mttok p_message) /*@*/ ;
42
43# else
44# error "Multiple include"
45# endif
This page took 0.209753 seconds and 5 git commands to generate.