NCBI C Toolkit Cross Reference

C/asnlib/asndebin.h


  1 /* asndebin.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:  asndebin.h
 27 *
 28 * Author:  James Ostell
 29 *
 30 * Version Creation Date: 3/4/91
 31 *
 32 * $Revision: 6.1 $
 33 *
 34 * File Description:
 35 *   Typedefs and prototypes for internal routines of asndebin.c
 36 *
 37 * Modifications:
 38 * --------------------------------------------------------------------------
 39 * Date     Name        Description of modification
 40 * -------  ----------  -----------------------------------------------------
 41 * 3/4/91   Kans        Stricter typecasting for GNU C and C++
 42 * 3/4/91   Kans        AsnDeBinReadBoolean returns Boolean
 43 *
 44 * $Log: asndebin.h,v $
 45 * Revision 6.1  2000/12/12 15:56:11  ostell
 46 * added support BigInt
 47 *
 48 * Revision 6.0  1997/08/25 18:09:48  madden
 49 * Revision changed to 6.0
 50 *
 51 * Revision 5.1  1996/12/03 21:43:48  vakatov
 52 * Adopted for 32-bit MS-Windows DLLs
 53 *
 54  * Revision 5.0  1996/05/28  14:00:29  ostell
 55  * Set to revision 5.0
 56  *
 57  * Revision 4.0  1995/07/26  13:47:38  ostell
 58  * force revision to 4.0
 59  *
 60  * Revision 2.1  1995/05/15  18:38:28  ostell
 61  * added Log line
 62  *
 63 *
 64 * ==========================================================================
 65 */
 66 
 67 #ifndef _ASNDEBIN_
 68 #define _ASNDEBIN_
 69 
 70 #undef NLM_EXTERN
 71 #ifdef NLM_IMPORT
 72 #define NLM_EXTERN NLM_IMPORT
 73 #else
 74 #define NLM_EXTERN extern
 75 #endif
 76 
 77 
 78         /* states in AsnDeBinTWord and AsnDeBinWord */
 79 #define INDEFINATE -1              /* reading indefinate length item */
 80 
 81 /*****************************************************************************
 82 *
 83 *   prototypes
 84 *       AsnBinReadVal
 85 *       AsnBinReadId  prototyped in asngen.h
 86 *
 87 *****************************************************************************/
 88 NLM_EXTERN Boolean AsnDeBinDecr PROTO((Int4 used, AsnIoPtr aip));
 89 NLM_EXTERN Int4 AsnDeBinScanTag PROTO((AsnIoPtr aip));
 90 NLM_EXTERN AsnTypePtr AsnDeBinFindType PROTO((AsnIoPtr aip, AsnModulePtr amp));
 91 NLM_EXTERN AsnTypePtr AsnDeBinFindElement PROTO((AsnIoPtr aip, AsnTypePtr atp));
 92 
 93 NLM_EXTERN Int4 AsnDeBinReadInteger PROTO((AsnIoPtr aip, AsnTypePtr atp));
 94 NLM_EXTERN Int8 AsnDeBinReadBigInt PROTO((AsnIoPtr aip, AsnTypePtr atp));
 95 NLM_EXTERN Boolean AsnDeBinReadBoolean PROTO((AsnIoPtr aip, AsnTypePtr atp));
 96 NLM_EXTERN CharPtr AsnDeBinReadString PROTO((AsnIoPtr aip, AsnTypePtr atp));
 97 NLM_EXTERN void AsnDeBinSkipString PROTO((AsnIoPtr aip));
 98 NLM_EXTERN ByteStorePtr AsnDeBinReadOctets PROTO((AsnIoPtr aip));
 99 NLM_EXTERN void AsnDeBinSkipOctets PROTO((AsnIoPtr aip));
100 NLM_EXTERN FloatHi AsnDeBinReadReal PROTO((AsnIoPtr aip));
101 NLM_EXTERN void AsnDeBinReadNull PROTO((AsnIoPtr aip, AsnTypePtr atp));
102 NLM_EXTERN void AsnDeBinSkipStruct PROTO((AsnIoPtr aip));
103 
104 
105 #undef NLM_EXTERN
106 #ifdef NLM_EXPORT
107 #define NLM_EXTERN NLM_EXPORT
108 #else
109 #define NLM_EXTERN
110 #endif
111 
112 #endif
113 

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.