| 1 | /* |
|---|
| 2 | * This file is generated by aisc_mkpt. |
|---|
| 3 | * Any changes you make here will be overwritten later! |
|---|
| 4 | * |
|---|
| 5 | */ |
|---|
| 6 | |
|---|
| 7 | #ifndef GDE_PROTO_H |
|---|
| 8 | #define GDE_PROTO_H |
|---|
| 9 | |
|---|
| 10 | /* define ARB attributes: */ |
|---|
| 11 | #ifndef ATTRIBUTES_H |
|---|
| 12 | # include <attributes.h> |
|---|
| 13 | #endif |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | /* GDE_ParseMenu.cxx */ |
|---|
| 17 | void ParseMenu(void); |
|---|
| 18 | int Find(const char *target, const char *key); |
|---|
| 19 | int Find2(const char *target, const char *key); |
|---|
| 20 | void Error(const char *msg) __ATTR__NORETURN; |
|---|
| 21 | void crop(char *input, char *head, char *tail); |
|---|
| 22 | |
|---|
| 23 | /* GDE.cxx */ |
|---|
| 24 | char *GDE_makeawarname(GmenuItem *gmenuitem, long i); |
|---|
| 25 | void GDE_load_menu(AW_window *awm, AW_active mask, const char *menulabel, const char *menuitemlabel); |
|---|
| 26 | void create_gde_var(AW_root *aw_root, AW_default aw_def, char *(*get_sequences )(void *THIS, GBDATA **&the_species, uchar **&the_names, uchar **&the_sequences, long &numberspecies, long &maxalignlen ), gde_cgss_window_type wt, void *THIS); |
|---|
| 27 | |
|---|
| 28 | /* GDE_event.cxx */ |
|---|
| 29 | void GDE_startaction_cb(AW_window *aw, GmenuItem *gmenuitem, AW_CL cd); |
|---|
| 30 | |
|---|
| 31 | /* GDE_arbdb_io.cxx */ |
|---|
| 32 | void ReadArbdb_plain(char *filename, NA_Alignment *dataset, int type); |
|---|
| 33 | int ReadArbdb2(NA_Alignment *dataset, AP_filter *filter, GapCompression compress, bool cutoff_stop_codon); |
|---|
| 34 | int ReadArbdb(NA_Alignment *dataset, bool marked, AP_filter *filter, GapCompression compress, bool cutoff_stop_codon); |
|---|
| 35 | int getelem(NA_Sequence *a, int b); |
|---|
| 36 | void putelem(NA_Sequence *a, int b, NA_Base c); |
|---|
| 37 | |
|---|
| 38 | /* GDE_HGLfile.cxx */ |
|---|
| 39 | void ReadGDE(char *filename, NA_Alignment *dataset, int type); |
|---|
| 40 | int WriteGDE(NA_Alignment *aln, char *filename, int method, int maskable); |
|---|
| 41 | void SeqNorm(NA_Sequence *seq); |
|---|
| 42 | char *uniqueID(void); |
|---|
| 43 | |
|---|
| 44 | /* GDE_Genbank.cxx */ |
|---|
| 45 | void ReadGen(char *filename, NA_Alignment *dataset, int type); |
|---|
| 46 | int WriteGen(NA_Alignment *aln, char *filename, int method, int maskable); |
|---|
| 47 | void SetTime(void *b); |
|---|
| 48 | |
|---|
| 49 | /* GDE_FileIO.cxx */ |
|---|
| 50 | int MAX(int a, int b); |
|---|
| 51 | int MIN(int a, int b); |
|---|
| 52 | void Regroup(NA_Alignment *alignment); |
|---|
| 53 | void ErrorOut5(int code, const char *string); |
|---|
| 54 | char *Calloc(int count, int size); |
|---|
| 55 | char *Realloc(char *block, int size); |
|---|
| 56 | void Cfree(char *block); |
|---|
| 57 | void LoadData(char *filen); |
|---|
| 58 | void AppendNA(NA_Base *buffer, int len, NA_Sequence *seq); |
|---|
| 59 | void Ascii2NA(char *buffer, int len, int matrix[16 ]); |
|---|
| 60 | int WriteNA_Flat(NA_Alignment *aln, char *filename, int method, int maskable); |
|---|
| 61 | void Warning(const char *s); |
|---|
| 62 | void InitNASeq(NA_Sequence *seq, int type); |
|---|
| 63 | void ReadCMask(const char *filename); |
|---|
| 64 | int WriteStatus(NA_Alignment *aln, char *filename, int method); |
|---|
| 65 | void ReadStatus(char *filename); |
|---|
| 66 | void NormalizeOffset(NA_Alignment *aln); |
|---|
| 67 | int WriteCMask(NA_Alignment *aln, char *filename, int method, int maskable); |
|---|
| 68 | |
|---|
| 69 | #else |
|---|
| 70 | #error GDE_proto.h included twice |
|---|
| 71 | #endif /* GDE_PROTO_H */ |
|---|