NCBI C Toolkit Cross Reference

C/cn3d/cn3dopen.h


  1 /*   cn3dopen.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:  cn3dopen.h
 27 *
 28 * Author:  Christopher Hogue
 29 *
 30 * Version Creation Date:   1/31/96
 31 *
 32 * $Revision: 6.17 $
 33 *
 34 * File Description: Cn3d file opening routines 
 35 *                   
 36 *
 37 * Modifications:  
 38 * --------------------------------------------------------------------------
 39 * Date     Name        Description of modification
 40 * -------  ----------  -----------------------------------------------------
 41 * $Log: cn3dopen.h,v $
 42 * Revision 6.17  2000/07/08 20:43:57  vakatov
 43 * Get all "#include" out of the 'extern "C" { }' scope;  other cleanup...
 44 *
 45 * Revision 6.16  2000/06/16 14:57:03  lewisg
 46 * move entrez calls out of desktop
 47 *
 48 * Revision 6.15  2000/05/15 23:39:34  lewisg
 49 * shred cblast, add menu items for gapped/ungapped, fix pdbheaders
 50 *
 51 * Revision 6.14  2000/04/03 21:05:53  lewisg
 52 * fix launch of cn3d from sequin
 53 *
 54 * Revision 6.13  2000/03/27 22:15:05  lewisg
 55 * add show/hide row dialog
 56 *
 57 * Revision 6.12  2000/03/24 20:34:57  lewisg
 58 * add blast from file, bug fixes, get rid of redundant code, etc.
 59 *
 60 * Revision 6.11  2000/03/20 18:18:33  thiessen
 61 * fixed header problem causing network unavailability
 62 *
 63 * Revision 6.10  2000/03/18 00:06:00  lewisg
 64 * add blast, new help, new menus
 65 *
 66 * Revision 6.9  2000/03/01 22:49:41  lewisg
 67 * import bioseq, neatlyindex, get rid of dead code
 68 *
 69 * Revision 6.8  2000/01/21 15:59:05  lewisg
 70 * add check for binary/ascii files
 71 *
 72 * Revision 6.7  2000/01/04 15:55:51  lewisg
 73 * don't hang on disconnected network and fix memory leak/hang at exit
 74 *
 75 * Revision 6.6  1999/10/29 14:15:30  thiessen
 76 * ran all Cn3D source through GNU Indent to prettify
 77 *
 78 * Revision 6.5  1999/08/04 21:18:01  lewisg
 79 * modularized open operations to allow sequin to launch cn3d
 80 *
 81 * Revision 6.4  1999/01/14 19:07:17  kans
 82 * network availability is configurable
 83 *
 84 * Revision 6.3  1998/06/29 19:28:02  lewisg
 85 * on the fly update of conservation color
 86 *
 87 * Revision 6.2  1998/04/28 19:38:41  lewisg
 88 * codewarrior fixes
 89 *
 90 * Revision 6.1  1998/04/28 15:14:31  lewisg
 91 * moved OpenMimeFileWithDeletion to cn3dopen
 92 *
 93 * Revision 6.0  1997/08/25 18:13:40  madden
 94 * Revision changed to 6.0
 95 *
 96 * Revision 5.0  1996/05/28 14:05:44  ostell
 97 * Set to revision 5.0
 98 *
 99  * Revision 1.1  1996/02/01  18:47:38  kans
100  * Initial revision
101  *
102 *
103 * ==========================================================================
104 */
105 
106 /* cn3dopen.h */
107 
108 #ifndef _CN3DOPEN2_
109 #define _CN3DOPEN2_ 1
110 
111 #include <objmime.h>
112 #include <algorend.h>
113 
114 #ifdef __cplusplus
115 extern "C" {
116 #endif
117 
118 #define MAX_MDLNO 1000
119 #define PRINT_FORM_MIME_NAME "Ncbi-mime-asn1"
120 #define PRINT_FORM_BIOSTRUC "Biostruc"
121 extern Boolean OpenMimeFileWithDeletion
122     PROTO((CharPtr filename, Boolean removeIt));
123 extern void LIBCALLBACK fnClearMarkedResidues
124     PROTO((PFB pfbThis, Int4 iModel, Int4 iIndex, Pointer ptr));
125 extern ValNodePtr fnMarkAlignedResidues
126     PROTO(
127         (PDNMS pdnmsMaster, PDNMS pdnmsSlave,
128          BiostrucFeaturePtr pbsfThis));
129 NLM_EXTERN Boolean MMDB_ReadMime(NcbiMimeAsn1Ptr mime);
130 NLM_EXTERN void Cn3D_OpenEnd();
131 NLM_EXTERN void Cn3D_OpenStart();
132 NLM_EXTERN Boolean Cn3D_StartNet(Boolean UseNetwork);
133 NLM_EXTERN void MMDB_OpenTraverse(PMSD pmsd);
134 NLM_EXTERN void Cn3D_SetPars(PARS parsThis, PDNMS pdnms);
135 
136 extern Boolean Cn3D_UsingEntrez(void);
137 extern Boolean Cn3D_EntrezOn(void);
138 
139 /*******************************************************************************
140 
141 Function : Cn3D_BlastDlg()
142   
143 Purpose : Blast alignment dialog for multiple alignment
144   
145 Parameters : i; menu
146 
147 *******************************************************************************/
148 NLM_EXTERN void Cn3D_BlastDlg(IteM i);
149 
150 /*****************************************************************************
151 
152 Function: Cn3D_UseNetwork()
153 
154 Purpose:  Determines if Cn3D should use the network
155   
156 Returns:  TRUE if yes
157 
158 *****************************************************************************/
159 NLM_EXTERN Boolean Cn3D_CheckNetworkUse();
160 
161 /*******************************************************************************
162 
163   Function : Cn3D_ImportBioseq()
164   
165   Purpose : Import a single bioseq via the net
166 
167 *******************************************************************************/
168 NLM_EXTERN void Cn3D_ImportBioseq(IteM i);
169 NLM_EXTERN void Cn3D_ImportBioseqGap(IteM i);
170 NLM_EXTERN void Cn3D_OpenBiostruc(IteM i);
171 NLM_EXTERN void Cn3D_NetOpenBiostruc(IteM i);
172 
173 /*******************************************************************************
174 
175   Function : Cn3D_ImportBioseqFile()
176   
177   Purpose : Import a single bioseq from a fasta file
178 
179 *******************************************************************************/
180 NLM_EXTERN void Cn3D_ImportBioseqFile(IteM i);
181 NLM_EXTERN void Cn3D_ImportBioseqFileGap(IteM i);
182 
183 NLM_EXTERN Int4 Cn3D_Accession2Gi (CharPtr string, Boolean IsAmino);
184 
185 #ifdef __cplusplus
186 }
187 #endif
188 #endif
189 

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.