|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/vibrant/pdiagnos.h |
source navigation diff markup identifier search freetext search file search |
1 /* pdiagnos.h
2 * ===========================================================================
3 *
4 * PUBLIC DOMAIN NOTICE
5 * National Center for Biotechnology Information (NCBI)
6 *
7 * This software/database is a "United States Government Work" under the
8 * terms of the United States Copyright Act. It was written as part of
9 * the author's official duties as a United States Government employee and
10 * thus cannot be copyrighted. This software/database is freely available
11 * to the public for use. The National Library of Medicine and the U.S.
12 * Government do not place any restriction on its use or reproduction.
13 * We would, however, appreciate having the NCBI and the author cited in
14 * any work or product based on this material
15 *
16 * Although all reasonable efforts have been taken to ensure the accuracy
17 * and reliability of the software and data, the NLM and the U.S.
18 * Government do not and cannot warrant the performance or results that
19 * may be obtained by using this software or data. The NLM and the U.S.
20 * Government disclaim all warranties, express or implied, including
21 * warranties of performance, merchantability or fitness for any particular
22 * purpose.
23 *
24 * ===========================================================================
25 *
26 * File Name: pdiagnos.h
27 *
28 * Author: Alex Smirnov
29 *
30 * Version Creation Date: 03/29/95
31 *
32 * $Revision: 6.0 $
33 *
34 * File Description:
35 *
36 * Modifications:
37 * --------------------------------------------------------------------------
38 * Date Name Description of modification
39 * ------- ---------- -----------------------------------------------------
40 *
41 * ==========================================================================
42 */
43
44 #ifndef _PDIAGNOS_
45 #define _PDIAGNOS_
46
47 #ifndef _DIAGNOST_
48 #include <diagnost.h>
49 #endif
50
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54
55 /*****************************************************************************
56 *
57 * DEFINES
58 *
59 *****************************************************************************/
60 #define NLM_DDA_MSGLEN 127
61 #define NLM_DDA_SIZE 16
62
63 /*****************************************************************************
64 *
65 * TYPEDEFS
66 *
67 *****************************************************************************/
68 typedef struct Nlm_diagrecord {
69 Nlm_Int1 recordType;
70 Nlm_Char recordStr[NLM_DDA_MSGLEN];
71 }Nlm_DiagRecord, PNTR Nlm_DiagRecordPtr;
72
73 typedef struct Nlm_diagarea {
74 Nlm_Uint4 keyLong;
75 Nlm_Uint2 total;
76 Nlm_Uint2 hasErrorRec;
77 Nlm_DiagRecord records[NLM_DDA_SIZE];
78 }Nlm_DiagArea, PNTR Nlm_DiagAreaPtr;
79
80 /*****************************************************************************
81 *
82 * EXTERN FUNCTION
83 *
84 *****************************************************************************/
85 extern void Nlm_DiagReset PROTO((void));
86 extern void Nlm_DiagPutRecord PROTO((Nlm_Int1 recordType,
87 Nlm_CharPtr className,
88 Nlm_CharPtr functionName,
89 Nlm_CharPtr msg));
90
91 #ifdef __cplusplus
92 }
93 #endif
94
95 #endif
96
97 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |