|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/asnlib/asnprint.h |
source navigation diff markup identifier search freetext search file search |
1 /* asnprint.h
2 * ===========================================================================
3 *
4 * PUBLIC DOMAIN NOTICE
5 * National Center for Biotechnology Information
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 have not placed any restriction on its use or reproduction.
13 *
14 * Although all reasonable efforts have been taken to ensure the accuracy
15 * and reliability of the software and data, the NLM and the U.S.
16 * Government do not and cannot warrant the performance or results that
17 * may be obtained by using this software or data. The NLM and the U.S.
18 * Government disclaim all warranties, express or implied, including
19 * warranties of performance, merchantability or fitness for any particular
20 * purpose.
21 *
22 * Please cite the author in any work or product based on this material.
23 *
24 * ===========================================================================
25 *
26 * File Name: asnprint.h
27 *
28 * Author: James Ostell
29 *
30 * Version Creation Date: 1/1/91
31 *
32 * $Revision: 6.5 $
33 *
34 * File Description:
35 * typedefs and prototypes used internally by asnprint.c
36 *
37 * Modifications:
38 * --------------------------------------------------------------------------
39 * Date Name Description of modification
40 * ------- ---------- -----------------------------------------------------
41 *
42 *
43 * $Log: asnprint.h,v $
44 * Revision 6.5 2003/09/15 16:16:32 kans
45 * added AsnWriteEx, AsnTxtWriteEx, and AsnPrintStream
46 *
47 * Revision 6.4 2001/06/26 22:02:42 juran
48 * Make C++-compatible.
49 *
50 * Revision 6.3 2000/12/12 15:56:14 ostell
51 * added support BigInt
52 *
53 * Revision 6.2 2000/07/25 20:30:58 ostell
54 * added support for printing multiple ASN.1 modules as multiple XML DTD and .mod files
55 *
56 * Revision 6.1 2000/05/10 03:12:36 ostell
57 * added support for XML DTD and XML data output
58 *
59 * Revision 6.0 1997/08/25 18:10:20 madden
60 * Revision changed to 6.0
61 *
62 * Revision 5.1 1996/12/03 21:43:48 vakatov
63 * Adopted for 32-bit MS-Windows DLLs
64 *
65 * Revision 5.0 1996/05/28 14:00:29 ostell
66 * Set to revision 5.0
67 *
68 * Revision 4.0 1995/07/26 13:47:38 ostell
69 * force revision to 4.0
70 *
71 * Revision 2.3 1995/05/15 18:38:28 ostell
72 * added Log line
73 *
74 *
75 * ==========================================================================
76 */
77
78 #ifndef _ASNPRINT_
79 #define _ASNPRINT_
80
81 #undef NLM_EXTERN
82 #ifdef NLM_IMPORT
83 #define NLM_EXTERN NLM_IMPORT
84 #else
85 #define NLM_EXTERN extern
86 #endif
87
88 #ifdef __cplusplus
89 extern "C" {
90 #endif
91
92 /*****************************************************************************
93 *
94 * prototypes
95 * AsnTxtWrite prototyped in asngen.h
96 *
97 *****************************************************************************/
98 NLM_EXTERN void AsnPrintModule PROTO((AsnModulePtr amp, AsnIoPtr aip));
99 NLM_EXTERN void AsnPrintModuleXML (AsnModulePtr amp, AsnIoPtr aip);
100 NLM_EXTERN void AsnPrintModuleXMLInc (AsnModulePtr amp, CharPtr name);
101 NLM_EXTERN void AsnPrintTreeModule(AsnModulePtr amp, FILE * fp);
102 NLM_EXTERN void AsnPrintType PROTO((AsnTypePtr atp, AsnIoPtr aip));
103 NLM_EXTERN Boolean AsnPrintStrStore PROTO((ByteStorePtr bsp, AsnIoPtr aip));
104 NLM_EXTERN void AsnPrintReal PROTO((FloatHi realvalue, AsnIoPtr aip));
105 NLM_EXTERN void AsnPrintInteger PROTO((Int4 theInt, AsnIoPtr aip));
106 NLM_EXTERN void AsnPrintBigInt PROTO((Int8 theInt, AsnIoPtr aip));
107 NLM_EXTERN void AsnPrintBoolean PROTO((Boolean value, AsnIoPtr aip));
108 NLM_EXTERN void AsnPrintOctets PROTO((ByteStorePtr ssp, AsnIoPtr aip));
109 NLM_EXTERN void AsnPrintChar PROTO((char theChar, AsnIoPtr aip));
110 NLM_EXTERN void AsnPrintIndent PROTO((Boolean increase, AsnIoPtr aip));
111 NLM_EXTERN void AsnPrintNewLine PROTO((AsnIoPtr aip));
112 NLM_EXTERN Boolean AsnPrintString PROTO((CharPtr str, AsnIoPtr aip));
113 NLM_EXTERN Boolean AsnPrintStream (Pointer object, AsnIoPtr aip, AsnStreamStringFunc stream);
114 NLM_EXTERN void AsnPrintCharBlock PROTO((CharPtr str, AsnIoPtr aip));
115 NLM_EXTERN int AsnPrintGetWordBreak PROTO((CharPtr str, int maxlen));
116 NLM_EXTERN void AsnPrintOpenStruct PROTO((AsnIoPtr aip, AsnTypePtr atp));
117 NLM_EXTERN void AsnPrintCloseStruct PROTO((AsnIoPtr aip, AsnTypePtr atp));
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123
124 #undef NLM_EXTERN
125 #ifdef NLM_IMPORT
126 #define NLM_EXTERN NLM_IMPORT
127 #else
128 #define NLM_EXTERN
129 #endif
130
131 #endif
132 |
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |