| 1 |
/* |
| 2 |
Copyright (C) 1993, 1994, RSNA and Washington University |
| 3 |
|
| 4 |
The software and supporting documentation for the Radiological |
| 5 |
Society of North America (RSNA) 1993, 1994 Digital Imaging and |
| 6 |
Communications in Medicine (DICOM) Demonstration were developed |
| 7 |
at the |
| 8 |
Electronic Radiology Laboratory |
| 9 |
Mallinckrodt Institute of Radiology |
| 10 |
Washington University School of Medicine |
| 11 |
510 S. Kingshighway Blvd. |
| 12 |
St. Louis, MO 63110 |
| 13 |
as part of the 1993, 1994 DICOM Central Test Node project for, and |
| 14 |
under contract with, the Radiological Society of North America. |
| 15 |
|
| 16 |
THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR |
| 17 |
WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS |
| 18 |
PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR |
| 19 |
USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY |
| 20 |
SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF |
| 21 |
THE SOFTWARE IS WITH THE USER. |
| 22 |
|
| 23 |
Copyright of the software and supporting documentation is |
| 24 |
jointly owned by RSNA and Washington University, and free access |
| 25 |
is hereby granted as a license to use this software, copy this |
| 26 |
software and prepare derivative works based upon this software. |
| 27 |
However, any distribution of this software source code or |
| 28 |
supporting documentation or derivative works (source code and |
| 29 |
supporting documentation) must include the three paragraphs of |
| 30 |
the copyright notice. |
| 31 |
*/ |
| 32 |
/* Copyright marker. Copyright will be inserted above. Do not remove */ |
| 33 |
|
| 34 |
/* |
| 35 |
** Electronic Radiology Laboratory |
| 36 |
** Mallinckrodt Institute of Radiology |
| 37 |
** Washington University School of Medicine |
| 38 |
** |
| 39 |
** Module Name(s): include file |
| 40 |
** Author, Date: Steve Moore, Summer 1994 |
| 41 |
** Intent: Provide prototypes and constants for MUT facility. |
| 42 |
** Last Update: $Author: smm $, $Date: 1996-08-23 20:00:55 $ |
| 43 |
** Source File: $RCSfile: mut.h,v $ |
| 44 |
** Revision: $Revision: 1.8 $ |
| 45 |
** Status: $State: Exp $ |
| 46 |
*/ |
| 47 |
|
| 48 |
#ifdef __cplusplus |
| 49 |
extern "C" { |
| 50 |
#endif |
| 51 |
|
| 52 |
typedef enum { |
| 53 |
MUT_TEXT, MUT_INT, MUT_FLOAT, MUT_US |
| 54 |
} MUT_DATATYPE; |
| 55 |
|
| 56 |
void MUT_LoadList(Widget w, LST_HEAD * lst, void (*format) (), char *buf); |
| 57 |
CONDITION MUT_ScanWidget(Widget w, MUT_DATATYPE type, CTNBOOLEAN * nullFlag, void *d); |
| 58 |
CONDITION MUT_DisplayConditionText(Widget w); |
| 59 |
|
| 60 |
#define MUT_NORMAL /* Normal return from MUT package */ \ |
| 61 |
FORM_COND(FAC_MUT, SEV_SUCC, 1) |
| 62 |
#define MUT_SCANFAILURE /* Failed to scan text from a widget */ \ |
| 63 |
FORM_COND(FAC_MUT, SEV_ERROR, 2) |
| 64 |
|
| 65 |
#ifdef __cplusplus |
| 66 |
} |
| 67 |
#endif |