NCBI C Toolkit Cross Reference

C/asnlib/asntool.h


  1 /* asncode.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: asncode.h
 27 *
 28 * Author:  Karl Sirotkin
 29 *
 30 * Version Creation Date: 12/3/97
 31 *
 32 * $Revision: 6.4 $
 33 *
 34 * File Description:
 35 *   Includes for building asntool and libraries
 36 *
 37 * Modifications:
 38 * --------------------------------------------------------------------------
 39 * Date     Name        Description of modification
 40 * -------  ----------  -----------------------------------------------------
 41 *
 42 * $Log: asntool.h,v $
 43 * Revision 6.4  2009/11/05 16:54:12  gouriano
 44 * Added option to use quoted syntax form to include headers. JIRA: CXX-1402
 45 *
 46 * Revision 6.3  2005/01/24 17:12:11  kans
 47 * added force_choice_struct (-V) to force struct plus object instead of ValNode for choices - for compatibility with old hand-coded object loaders
 48 *
 49 * Revision 6.2  1998/03/25 23:31:32  kans
 50 * params to register new object manager type, give optional non-default label
 51 *
 52 * Revision 6.1  1997/12/16 14:51:52  kans
 53 * header needed for asntool/asncode merge
 54 *
 55 *
 56 * ==========================================================================
 57 */
 58 
 59 #ifndef _ASNCODE_
 60 #define _ASNCODE_
 61 
 62 typedef struct struct_AsnCodeInfo {
 63    Int4            debug_level;     /* > 0, some debugging  if> 3 max */
 64    FILE           *bug_fp ;   /* file pointer for debugging print */
 65    Int2     maxDefineLength;        /* maximum token length */
 66 
 67    CharPtr loadname;  /* goes in "#include <%s>\n\n", in generated
 68                          .h file, with a forced extension of .h */
 69    CharPtr filename;  /* for generated code, .h and .c appended */
 70    Boolean do_bit_twiddle; /* add slot in generated code to
 71                               track whether slots are present,
 72                               so a zero value can be output */
 73    Boolean force_choice_struct; /* generate structure instead of ValNodePtr for choice */
 74    CharPtr include_filename; /* similar to loadname, except for .c file */
 75    CharPtr object_manager_entry; /* to create a registered object manager type */
 76    CharPtr object_label; /* label (defaults to object_manager_entry) */
 77    AsnModulePtr amp;         /* standard ncbi usage, all modules */
 78    AsnModulePtr last_amp;    /* stop generating code when get to this module */
 79    Boolean use_quoted_include;
 80 } AsnCodeInfo, PNTR AsnCodeInfoPtr;
 81 
 82 void AsnCode    PROTO ((AsnCodeInfoPtr acip));
 83 
 84 #endif
 85 
 86 

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.