source: tags/initial/PERL2ARB/proto.h

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 23.7 KB
Line 
1#ifndef P_
2# error P_ is not defined
3#endif
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9/* adsort.c */
10char *GBT_quicksort P_((void **array, long start, long end, gb_compare_two_items_type compare, char *client_data));
11char *GB_mergesort P_((void **array, long start, long end, gb_compare_two_items_type compare, char *client_data));
12
13/* adlang1.c */
14
15/* adstring.c */
16char *GB_find_latest_file P_((const char *dir, const char *mask));
17GB_ERROR GB_export_error P_((const char *templat, ...));
18GB_ERROR GB_print_error P_((void));
19GB_ERROR GB_get_error P_((void));
20GB_CSTR GBS_global_string P_((const char *templat, ...));
21char *GBS_string_2_key P_((const char *str));
22GB_ERROR GB_check_key P_((const char *key));
23GB_ERROR GB_check_link_name P_((const char *key));
24GB_ERROR GB_check_hkey P_((const char *key));
25char *GBS_strdup P_((const char *s));
26GB_CPNTR GBS_find_string P_((const char *str, const char *key, long match_mode));
27long GBS_string_scmp P_((const char *str, const char *search, long upper_case));
28long GBS_string_cmp P_((const char *str, const char *search, long upper_case));
29char *GBS_remove_escape P_((char *com));
30void *GBS_stropen P_((long init_size));
31char *GBS_strclose P_((void *strstruct, int optimize));
32GB_CPNTR GBS_mempntr P_((void *strstruct));
33long GBS_memoffset P_((void *strstruct));
34void GBS_str_cut_tail P_((void *strstruct, int byte_count));
35void GBS_strcat P_((void *strstruct, const char *ptr));
36void GBS_strncat P_((void *strstruct, const char *ptr, long len));
37void GBS_strnprintf P_((void *strstruct, long len, const char *templat, ...));
38void GBS_chrcat P_((void *strstruct, char ch));
39void GBS_intcat P_((void *strstruct, long val));
40void GBS_floatcat P_((void *strstruct, double val));
41char *GBS_string_eval P_((const char *insource, const char *icommand, GBDATA *gb_container));
42char *GBS_eval_env P_((const char *p));
43char *GBS_read_arb_tcp P_((const char *env));
44char *GBS_find_lib_file P_((const char *filename, const char *libprefix));
45char **GBS_read_dir P_((const char *dir, const char *filter));
46GB_ERROR GBS_free_names P_((char **names));
47long GBS_gcgchecksum P_((const char *seq));
48long GB_checksum P_((const char *seq, long length, int uppercase, const char *exclude));
49long GBS_checksum P_((const char *seq, int uppercase, const char *exclude));
50long GB_merge_sort_strcmp P_((void *v0, void *v1, char *not_used));
51char *GBS_extract_words P_((const char *source, const char *chars, float minlen, GB_BOOL sort_output));
52int GBS_do_core P_((void));
53void GB_install_error_handler P_((gb_error_handler_type aw_message));
54void GB_internal_error P_((const char *templat, ...));
55void GB_warning P_((const char *templat, ...));
56void GB_install_warning P_((gb_warning_func_type warn));
57int GB_status P_((double val));
58void GB_install_status P_((gb_status_func_type func));
59int GB_status2 P_((const char *val));
60void GB_install_status2 P_((gb_status_func2_type func2));
61GB_CPNTR GBS_regsearch P_((const char *in, const char *regexprin));
62char *GBS_regreplace P_((const char *in, const char *regexprin, GBDATA *gb_species));
63GB_CPNTR GBS_regsearch P_((const char *in, const char *regexprin));
64char *GBS_regreplace P_((const char *in, const char *regexprin, GBDATA *gb_species));
65char *GBS_merge_tagged_strings P_((const char *s1, const char *tag1, const char *replace1, const char *s2, const char *tag2, const char *replace2));
66char *GBS_string_eval_tagged_string P_((GBDATA *gb_main, const char *s, const char *dt, const char *tag, const char *srt, const char *aci, GBDATA *gbd));
67char *GB_read_as_tagged_string P_((GBDATA *gbd, const char *tagi));
68GBDATA_SET *GB_create_set P_((int size));
69void GB_add_set P_((GBDATA_SET *set, GBDATA *item));
70void GB_delete_set P_((GBDATA_SET *set));
71GB_ERROR GBS_fwrite_string P_((const char *strngi, FILE *out));
72char *GBS_fread_string P_((FILE *in, int optimize));
73char *GBS_replace_tabs_by_spaces P_((const char *text));
74
75/* arbdb.c */
76char *GB_rel P_((void *struct_adress, long rel_adress));
77double GB_atof P_((const char *str));
78GB_CPNTR GB_give_buffer P_((long size));
79int GB_give_buffer_size P_((void));
80GB_CPNTR GB_give_buffer2 P_((long size));
81GB_CPNTR GB_give_other_buffer P_((const char *buffer, long size));
82GB_ERROR GB_close P_((GBDATA *gbd));
83GB_ERROR GB_exit P_((GBDATA *gbd));
84long GB_read_int P_((GBDATA *gbd));
85int GB_read_byte P_((GBDATA *gbd));
86double GB_read_float P_((GBDATA *gbd));
87long GB_read_count P_((GBDATA *gbd));
88long GB_read_memuse P_((GBDATA *gbd));
89GB_CPNTR GB_read_pntr P_((GBDATA *gbd));
90GB_CPNTR GB_read_char_pntr P_((GBDATA *gbd));
91char *GB_read_string P_((GBDATA *gbd));
92long GB_read_string_count P_((GBDATA *gbd));
93GB_CPNTR GB_read_link_pntr P_((GBDATA *gbd));
94char *GB_read_link P_((GBDATA *gbd));
95long GB_read_link_count P_((GBDATA *gbd));
96long GB_read_bits_count P_((GBDATA *gbd));
97GB_CPNTR GB_read_bits_pntr P_((GBDATA *gbd, char c_0, char c_1));
98char *GB_read_bits P_((GBDATA *gbd, char c_0, char c_1));
99GB_CPNTR GB_read_bytes_pntr P_((GBDATA *gbd));
100long GB_read_bytes_count P_((GBDATA *gbd));
101char *GB_read_bytes P_((GBDATA *gbd));
102GB_CUINT4 *GB_read_ints_pntr P_((GBDATA *gbd));
103long GB_read_ints_count P_((GBDATA *gbd));
104GB_UINT4 *GB_read_ints P_((GBDATA *gbd));
105GB_CFLOAT *GB_read_floats_pntr P_((GBDATA *gbd));
106long GB_read_floats_count P_((GBDATA *gbd));
107float *GB_read_floats P_((GBDATA *gbd));
108char *GB_read_as_string P_((GBDATA *gbd));
109GB_ERROR GB_write_byte P_((GBDATA *gbd, int i));
110GB_ERROR GB_write_int P_((GBDATA *gbd, long i));
111GB_ERROR GB_write_float P_((GBDATA *gbd, double f));
112GB_ERROR GB_write_pntr P_((GBDATA *gbd, const char *s, long bytes_size, long stored_size));
113GB_ERROR GB_write_string P_((GBDATA *gbd, const char *s));
114GB_ERROR GB_write_link P_((GBDATA *gbd, const char *s));
115GB_ERROR GB_write_bits P_((GBDATA *gbd, const char *bits, long size, char c_0));
116GB_ERROR GB_write_bytes P_((GBDATA *gbd, const char *s, long size));
117GB_ERROR GB_write_ints P_((GBDATA *gbd, const GB_UINT4 *i, long size));
118GB_ERROR GB_write_floats P_((GBDATA *gbd, const float *f, long size));
119GB_ERROR GB_write_as_string P_((GBDATA *gbd, const char *val));
120int GB_read_security_write P_((GBDATA *gbd));
121int GB_read_security_read P_((GBDATA *gbd));
122int GB_read_security_delete P_((GBDATA *gbd));
123int GB_get_my_security P_((GBDATA *gbd));
124GB_ERROR GB_write_security_write P_((GBDATA *gbd, unsigned long level));
125GB_ERROR GB_write_security_read P_((GBDATA *gbd, unsigned long level));
126GB_ERROR GB_write_security_delete P_((GBDATA *gbd, unsigned long level));
127GB_ERROR GB_write_security_levels P_((GBDATA *gbd, unsigned long readlevel, unsigned long writelevel, unsigned long deletelevel));
128GB_ERROR GB_change_my_security P_((GBDATA *gbd, int level, const char *passwd));
129GB_ERROR GB_push_my_security P_((GBDATA *gbd));
130GB_ERROR GB_pop_my_security P_((GBDATA *gbd));
131GB_TYPES GB_read_type P_((GBDATA *gbd));
132char *GB_read_key P_((GBDATA *gbd));
133GB_CSTR GB_read_key_pntr P_((GBDATA *gbd));
134GBQUARK GB_key_2_quark P_((GBDATA *gbd, const char *s));
135long GB_read_clock P_((GBDATA *gbd));
136long GB_read_transaction P_((GBDATA *gbd));
137GBDATA *GB_get_father P_((GBDATA *gbd));
138GBDATA *GB_get_root P_((GBDATA *gbd));
139GB_BOOL GB_check_father P_((GBDATA *gbd, GBDATA *gb_maybefather));
140GBDATA *GB_create P_((GBDATA *father, const char *key, GB_TYPES type));
141GBDATA *GB_create_container P_((GBDATA *father, const char *key));
142GB_ERROR GB_delete P_((GBDATA *source));
143GB_ERROR GB_copy P_((GBDATA *dest, GBDATA *source));
144char *GB_get_subfields P_((GBDATA *gbd));
145GB_ERROR GB_set_compression P_((GBDATA *gb_main, GB_COMPRESSION_MASK disable_compression));
146GB_ERROR GB_set_temporary P_((GBDATA *gbd));
147GB_ERROR GB_clear_temporary P_((GBDATA *gbd));
148long GB_read_temporary P_((GBDATA *gbd));
149GB_ERROR GB_push_local_transaction P_((GBDATA *gbd));
150GB_ERROR GB_pop_local_transaction P_((GBDATA *gbd));
151GB_ERROR GB_push_transaction P_((GBDATA *gbd));
152GB_ERROR GB_pop_transaction P_((GBDATA *gbd));
153GB_ERROR GB_begin_transaction P_((GBDATA *gbd));
154GB_ERROR GB_no_transaction P_((GBDATA *gbd));
155GB_ERROR GB_abort_transaction P_((GBDATA *gbd));
156GB_ERROR GB_commit_transaction P_((GBDATA *gbd));
157GB_ERROR GB_update_server P_((GBDATA *gbd));
158void *GB_read_old_value P_((void));
159long GB_read_old_size P_((void));
160GB_ERROR GB_add_callback P_((GBDATA *gbd, enum gb_call_back_type type, GB_CB func, int *clientdata));
161GB_ERROR GB_remove_callback P_((GBDATA *gbd, enum gb_call_back_type type, GB_CB func, int *clientdata));
162GB_ERROR GB_ensure_callback P_((GBDATA *gbd, enum gb_call_back_type type, GB_CB func, int *clientdata));
163GB_ERROR GB_release P_((GBDATA *gbd));
164int GB_testlocal P_((GBDATA *gbd));
165int GB_nsons P_((GBDATA *gbd));
166GB_ERROR GB_disable_quicksave P_((GBDATA *gbd, const char *reason));
167GB_ERROR GB_resort_data_base P_((GBDATA *gb_main, GBDATA **new_order_list, long listsize));
168GB_ERROR GB_resort_system_folder_to_top P_((GBDATA *gb_main));
169GB_ERROR GB_write_usr_public P_((GBDATA *gbd, long flags));
170long GB_read_usr_public P_((GBDATA *gbd));
171long GB_read_usr_private P_((GBDATA *gbd));
172GB_ERROR GB_write_usr_private P_((GBDATA *gbd, long ref));
173GB_ERROR GB_write_flag P_((GBDATA *gbd, long flag));
174int GB_read_flag P_((GBDATA *gbd));
175GB_ERROR GB_touch P_((GBDATA *gbd));
176GB_ERROR GB_print_debug_information P_((void *dummy, GBDATA *gb_main));
177int GB_info P_((GBDATA *gbd));
178long GB_number_of_subentries P_((GBDATA *gbd));
179long GB_rescan_number_of_subentries P_((GBDATA *gbd));
180
181/* ad_core.c */
182
183/* admath.c */
184double GB_log_fak P_((int n));
185
186/* adoptimize.c */
187GB_ERROR GB_optimize P_((GBDATA *gb_main));
188
189/* adsystem.c */
190
191/* adindex.c */
192GB_ERROR GB_create_index P_((GBDATA *gbd, const char *key, long estimated_size));
193GB_ERROR GB_request_undo_type P_((GBDATA *gb_main, GB_UNDO_TYPE type));
194GB_UNDO_TYPE GB_get_requested_undo_type P_((GBDATA *gb_main));
195GB_ERROR GB_undo P_((GBDATA *gb_main, GB_UNDO_TYPE type));
196char *GB_undo_info P_((GBDATA *gb_main, GB_UNDO_TYPE type));
197GB_ERROR GB_set_undo_mem P_((GBDATA *gbd, long memsize));
198
199/* adperl.c */
200GB_UNDO_TYPE GBP_undo_type P_((char *type));
201int GBP_search_mode P_((char *search_mode));
202const char *GBP_type_to_string P_((GB_TYPES type));
203GB_TYPES GBP_gb_types P_((char *type_name));
204GB_UNDO_TYPE GBP_undo_types P_((const char *type_name));
205const char *GBP_undo_type_2_string P_((GB_UNDO_TYPE type));
206
207/* adlink.c */
208GBDATA *GB_follow_link P_((GBDATA *gb_link));
209GB_ERROR GB_install_link_follower P_((GBDATA *gb_main, const char *link_type, GB_Link_Follower link_follower));
210
211/* adsocket.c */
212void GB_usleep P_((long usec));
213void GB_usleep P_((long usec));
214void GB_usleep P_((long usec));
215GB_ULONG GB_time_of_file P_((const char *path));
216long GB_size_of_file P_((const char *path));
217long GB_mode_of_file P_((const char *path));
218long GB_mode_of_link P_((const char *path));
219int GB_is_regularfile P_((const char *path));
220long GB_getuid P_((void));
221long GB_getpid P_((void));
222long GB_getuid_of_file P_((char *path));
223int GB_unlink P_((const char *path));
224char *GB_follow_unix_link P_((const char *path));
225GB_ERROR GB_symlink P_((const char *name1, const char *name2));
226GB_ERROR GB_set_mode_of_file P_((const char *path, long mode));
227GB_ERROR GB_rename P_((const char *oldpath, const char *newpath));
228char *GB_read_file P_((const char *path));
229char *GB_map_FILE P_((FILE *in, int writeable));
230char *GB_map_file P_((const char *path, int writeable));
231long GB_size_of_FILE P_((FILE *in));
232GB_ULONG GB_time_of_day P_((void));
233long GB_last_saved_clock P_((GBDATA *gb_main));
234GB_ULONG GB_last_saved_time P_((GBDATA *gb_main));
235void GB_edit P_((const char *path));
236void GB_textprint P_((const char *path));
237GB_CSTR GB_getcwd P_((void));
238void GB_xterm P_((void));
239void GB_xcmd P_((const char *cmd, GB_BOOL background));
240GB_CSTR GB_getenvUSER P_((void));
241GB_CSTR GB_getenvHOME P_((void));
242GB_CSTR GB_getenvARBHOME P_((void));
243GB_CSTR GB_getenvARBMACROHOME P_((void));
244GB_CSTR GB_getenvGS P_((void));
245GB_CSTR GB_getenv P_((const char *env));
246int GB_host_is_local P_((const char *hostname));
247GB_ULONG GB_get_physical_memory P_((void));
248
249/* adcomm.c */
250GB_ERROR GBCMS_open P_((const char *path, long timeout, GBDATA *gb_main));
251GB_ERROR GBCMS_shutdown P_((GBDATA *gbd));
252GB_BOOL GBCMS_accept_calls P_((GBDATA *gbd, GB_BOOL wait_extra_time));
253long GB_read_clients P_((GBDATA *gbd));
254GBDATA *GBCMC_find P_((GBDATA *gbd, const char *key, const char *str, enum gb_search_types gbs));
255int GBCMC_system P_((GBDATA *gbd, const char *ss));
256GB_ERROR GB_tell_server_dont_wait P_((GBDATA *gbd));
257GB_CSTR GBC_get_hostname P_((void));
258GB_ERROR GB_install_pid P_((int mode));
259
260/* adhash.c */
261GB_HASH *GBS_create_hash P_((long size, int upper_case));
262char *GBS_hashtab_2_string P_((GB_HASH *hash));
263char *GBS_string_2_hashtab P_((GB_HASH *hash, char *data));
264long GBS_read_hash P_((GB_HASH *hs, const char *key));
265long GBS_write_hash P_((GB_HASH *hs, const char *key, long val));
266long GBS_write_hash_no_strdup P_((GB_HASH *hs, char *key, long val));
267long GBS_incr_hash P_((GB_HASH *hs, const char *key));
268void GBS_free_hash_entries P_((GB_HASH *hs));
269void GBS_free_hash P_((GB_HASH *hs));
270void GBS_free_hash_entries_free_pointer P_((GB_HASH *hs));
271void GBS_free_hash_free_pointer P_((GB_HASH *hs));
272void GBS_hash_do_loop P_((GB_HASH *hs, gb_hash_loop_type func));
273void GBS_hash_next_element P_((GB_HASH *hs, const char **key, long *val));
274void GBS_hash_first_element P_((GB_HASH *hs, const char **key, long *val));
275void GBS_hash_do_sorted_loop P_((GB_HASH *hs, gb_hash_loop_type func, gbs_hash_sort_func_type sorter));
276long GBS_create_hashi P_((long size));
277long GBS_read_hashi P_((long hashi, long key));
278long GBS_write_hashi P_((long hashi, long key, long val));
279long GBS_free_hashi P_((long hash));
280char *GB_set_cache_size P_((GBDATA *gbd, long size));
281
282/* adquery.c */
283GBDATA *GB_find_sub_by_quark P_((GBDATA *father, int key_quark, const char *val, GBDATA *after));
284GBDATA *GB_find_sub_sub_by_quark P_((GBDATA *father, const char *key, int sub_key_quark, const char *val, GBDATA *after));
285GBDATA *GB_find P_((GBDATA *gbd, const char *key, const char *str, long gbs));
286char *GB_first_non_key_char P_((const char *str));
287GBDATA *GB_search P_((GBDATA *gbd, const char *str, long create));
288GBDATA *GB_search_last_son P_((GBDATA *gbd));
289long GB_number_of_marked_subentries P_((GBDATA *gbd));
290GBDATA *GB_first_marked P_((GBDATA *gbd, const char *keystring));
291GBDATA *GB_next_marked P_((GBDATA *gbd, const char *keystring));
292void GB_install_command_table P_((GBDATA *gb_main, struct GBL_command_table *table));
293char *GB_command_interpreter P_((GBDATA *gb_main, const char *str, const char *commands, GBDATA *gbd));
294
295/* ad_save_load.c */
296GB_ERROR GB_save P_((GBDATA *gb, char *path, const char *savetype));
297GB_ERROR GB_save_in_home P_((GBDATA *gb, const char *path, const char *savetype));
298GB_ERROR GB_save_as P_((GBDATA *gb, const char *path, const char *savetype));
299GB_ERROR GB_delete_database P_((GB_CSTR filename));
300GB_ERROR GB_save_quick_as P_((GBDATA *gb_main, char *path));
301GB_ERROR GB_save_quick P_((GBDATA *gb, char *refpath));
302GB_ERROR GB_disable_path P_((GBDATA *gbd, const char *path));
303
304/* adcompr.c */
305
306/* admalloc.c */
307void *GB_calloc P_((unsigned int nelem, unsigned int elsize));
308char *GB_strdup P_((const char *p));
309void *GB_recalloc P_((void *ptr, unsigned int oelem, unsigned int nelem, unsigned int elsize));
310void GB_memerr P_((void));
311
312/* ad_load.c */
313void GB_set_next_main_idx P_((long idx));
314GBDATA *GB_login P_((const char *path, const char *opent, const char *user));
315GBDATA *GB_open P_((const char *path, const char *opent));
316void GB_set_verbose P_((void));
317
318/* admap.c */
319
320/* adTest.c */
321void GB_dump P_((GBDATA *gbd));
322char *GB_ralfs_test P_((GBDATA *gb_main));
323char *GB_ralfs_menupoint P_((GBDATA *main_data));
324
325/* adtune.c */
326
327#ifdef __cplusplus
328}
329#endif
330#ifndef P_
331# error P_ is not defined
332#endif
333
334#ifdef __cplusplus
335extern "C" {
336#endif
337
338/* adtools.c */
339char **GBT_get_alignment_names P_((GBDATA *gbd));
340GB_ERROR GBT_check_alignment_name P_((const char *alignment_name));
341GBDATA *GBT_create_alignment P_((GBDATA *gbd, const char *name, long len, long aligned, long security, const char *type));
342GB_ERROR GBT_check_alignment P_((GBDATA *Main, GBDATA *preset_alignment));
343GB_ERROR GBT_rename_alignment P_((GBDATA *gbd, const char *source, const char *dest, int copy, int dele));
344GBDATA *GBT_find_or_create P_((GBDATA *Main, const char *key, long delete_level));
345GB_ERROR GBT_check_data P_((GBDATA *Main, char *alignment_name));
346GB_ERROR GBT_check_lengths P_((GBDATA *Main, const char *alignment_name));
347GB_ERROR GBT_insert_character P_((GBDATA *Main, char *alignment_name, long pos, long count, char *char_delete));
348GB_ERROR GBT_delete_tree P_((GBT_TREE *tree));
349GB_ERROR GBT_write_tree P_((GBDATA *gb_main, GBDATA *gb_tree, char *tree_name, GBT_TREE *tree));
350GB_ERROR GBT_write_tree_rem P_((GBDATA *gb_main, const char *tree_name, const char *remark));
351GBT_TREE *GBT_read_tree_and_size P_((GBDATA *gb_main, const char *tree_name, long structure_size, int *tree_size));
352GBT_TREE *GBT_read_tree P_((GBDATA *gb_main, const char *tree_name, long structure_size));
353GB_ERROR GBT_link_tree P_((GBT_TREE *tree, GBDATA *gb_main, GB_BOOL show_status));
354GBT_TREE *GBT_load_tree P_((char *path, int structuresize));
355GBDATA *GBT_get_tree P_((GBDATA *gb_main, const char *tree_name));
356long GBT_size_of_tree P_((GBDATA *gb_main, const char *tree_name));
357char *GBT_find_largest_tree P_((GBDATA *gb_main));
358char *GBT_find_latest_tree P_((GBDATA *gb_main));
359char *GBT_tree_info_string P_((GBDATA *gb_main, const char *tree_name));
360GB_ERROR GBT_check_tree_name P_((const char *tree_name));
361char **GBT_get_tree_names P_((GBDATA *Main));
362char *GBT_get_next_tree_name P_((GBDATA *gb_main, const char *tree));
363GB_ERROR GBT_free_names P_((char **names));
364GB_CSTR *GBT_get_species_names_of_tree P_((GBT_TREE *tree));
365char *GBT_existing_tree P_((GBDATA *Main, const char *tree));
366GB_ERROR GBT_export_tree P_((GBDATA *gb_main, FILE *out, GBT_TREE *tree, GB_BOOL triple_root));
367GBDATA *GBT_create_species P_((GBDATA *gb_main, const char *name));
368GBDATA *GBT_create_species_rel_species_data P_((GBDATA *gb_species_data, const char *name));
369GBDATA *GBT_create_SAI P_((GBDATA *gb_main, const char *name));
370GBDATA *GBT_add_data P_((GBDATA *species, const char *ali_name, const char *key, GB_TYPES type));
371GB_ERROR GBT_write_sequence P_((GBDATA *gb_data, const char *ali_name, long ali_len, const char *sequence));
372GBDATA *GBT_gen_accession_number P_((GBDATA *gb_species, const char *ali_name));
373GBDATA *GBT_first_marked_species_rel_species_data P_((GBDATA *gb_species_data));
374GBDATA *GBT_first_marked_species P_((GBDATA *gb_main));
375GBDATA *GBT_next_marked_species P_((GBDATA *gb_species));
376GBDATA *GBT_first_species_rel_species_data P_((GBDATA *gb_species_data));
377GBDATA *GBT_first_species P_((GBDATA *gb_main));
378GBDATA *GBT_next_species P_((GBDATA *gb_species));
379GBDATA *GBT_find_species_rel_species_data P_((GBDATA *gb_species_data, const char *name));
380GBDATA *GBT_find_species P_((GBDATA *gb_main, const char *name));
381GBDATA *GBT_first_marked_extended P_((GBDATA *gb_extended_data));
382GBDATA *GBT_next_marked_extended P_((GBDATA *gb_extended));
383GBDATA *GBT_first_SAI P_((GBDATA *gb_main));
384GBDATA *GBT_next_SAI P_((GBDATA *gb_extended));
385GBDATA *GBT_find_SAI P_((GBDATA *gb_main, const char *name));
386GBDATA *GBT_first_SAI_rel_exdata P_((GBDATA *gb_extended_data));
387GBDATA *GBT_find_SAI_rel_exdata P_((GBDATA *gb_extended_data, const char *name));
388char *GBT_create_unique_species_name P_((GBDATA *gb_main, const char *default_name));
389GBDATA *GBT_find_configuration P_((GBDATA *gb_main, const char *name));
390GBDATA *GBT_create_configuration P_((GBDATA *gb_main, const char *name));
391void GBT_mark_all P_((GBDATA *gb_main, int flag));
392long GBT_count_marked_species P_((GBDATA *gb_main));
393long GBT_count_species P_((GBDATA *gb_main));
394long GBT_recount_species P_((GBDATA *gb_main));
395GBDATA *GBT_read_sequence P_((GBDATA *gb_species, const char *use));
396char *GBT_read_name P_((GBDATA *gb_species));
397char *GBT_get_default_alignment P_((GBDATA *gb_main));
398GB_ERROR GBT_set_default_alignment P_((GBDATA *gb_main, const char *alignment_name));
399char *GBT_get_default_helix P_((GBDATA *gb_main));
400char *GBT_get_default_helix_nr P_((GBDATA *gb_main));
401char *GBT_get_default_ref P_((GBDATA *gb_main));
402GBDATA *GBT_get_alignment P_((GBDATA *gb_main, const char *use));
403long GBT_get_alignment_len P_((GBDATA *gb_main, const char *use));
404GB_ERROR GBT_set_alignment_len P_((GBDATA *gb_main, const char *use, long new_len));
405int GBT_get_alignment_aligned P_((GBDATA *gb_main, const char *use));
406char *GBT_get_alignment_type_string P_((GBDATA *gb_main, const char *use));
407GB_alignment_type GBT_get_alignment_type P_((GBDATA *gb_main, const char *use));
408GB_BOOL GBT_is_alignment_protein P_((GBDATA *gb_main, const char *alignment_name));
409GB_ERROR GBT_check_arb_file P_((const char *name));
410char **GBT_scan_db P_((GBDATA *gbd));
411GB_ERROR GBT_message P_((GBDATA *gb_main, const char *msg));
412GB_HASH *GBT_generate_species_hash P_((GBDATA *gb_main, int ncase));
413GB_HASH *GBT_generate_marked_species_hash P_((GBDATA *gb_main));
414GB_ERROR GBT_begin_rename_session P_((GBDATA *gb_main, int all_flag));
415GB_ERROR GBT_rename_species P_((const char *oldname, const char *newname));
416GB_ERROR GBT_abort_rename_session P_((void));
417GB_ERROR GBT_commit_rename_session P_((int (*show_status )(double gauge )));
418GBDATA **GBT_gen_species_array P_((GBDATA *gb_main, long *pspeccnt));
419char *GBT_read_string P_((GBDATA *gb_main, const char *awar_name));
420long GBT_read_int P_((GBDATA *gb_main, const char *awar_name));
421double GBT_read_float P_((GBDATA *gb_main, const char *awar_name));
422GBDATA *GBT_search_string P_((GBDATA *gb_main, const char *awar_name, const char *def));
423GBDATA *GBT_search_int P_((GBDATA *gb_main, const char *awar_name, int def));
424GBDATA *GBT_search_float P_((GBDATA *gb_main, const char *awar_name, double def));
425char *GBT_read_string2 P_((GBDATA *gb_main, const char *awar_name, const char *def));
426long GBT_read_int2 P_((GBDATA *gb_main, const char *awar_name, long def));
427double GBT_read_float2 P_((GBDATA *gb_main, const char *awar_name, double def));
428GB_ERROR GBT_write_string P_((GBDATA *gb_main, const char *awar_name, const char *def));
429GB_ERROR GBT_write_int P_((GBDATA *gb_main, const char *awar_name, long def));
430GB_ERROR GBT_write_float P_((GBDATA *gb_main, const char *awar_name, double def));
431GBDATA *GB_test_link_follower P_((GBDATA *gb_main, GBDATA *gb_link, const char *link));
432GBDATA *GBT_open P_((const char *path, const char *opent, const char *disabled_path));
433GB_ERROR GBT_remote_action P_((GBDATA *gb_main, const char *application, const char *action_name));
434GB_ERROR GBT_remote_awar P_((GBDATA *gb_main, const char *application, const char *awar_name, const char *value));
435
436/* adseqcompr.c */
437GB_ERROR GBT_compress_sequence_tree P_((GBDATA *gb_main, GB_CTREE *tree, const char *ali_name));
438GB_ERROR GBT_compress_sequence_tree2 P_((GBDATA *gb_main, const char *tree_name, const char *ali_name));
439void GBT_compression_test P_((void *dummy, GBDATA *gb_main));
440
441/* adtables.c */
442GB_ERROR GBT_install_table_link_follower P_((GBDATA *gb_main));
443GBDATA *GBT_open_table P_((GBDATA *gb_table_root, const char *table_name, GB_BOOL read_only));
444GBDATA *GBT_first_table P_((GBDATA *gb_main));
445GBDATA *GBT_next_table P_((GBDATA *gb_table));
446GBDATA *GBT_first_table_entry P_((GBDATA *gb_table));
447GBDATA *GBT_first_marked_table_entry P_((GBDATA *gb_table));
448GBDATA *GBT_next_table_entry P_((GBDATA *gb_table_entry));
449GBDATA *GBT_next_marked_table_entry P_((GBDATA *gb_table_entry));
450GBDATA *GBT_find_table_entry P_((GBDATA *gb_table, const char *id));
451GBDATA *GBT_open_table_entry P_((GBDATA *gb_table, const char *id));
452GBDATA *GBT_first_table_field P_((GBDATA *gb_table));
453GBDATA *GBT_first_marked_table_field P_((GBDATA *gb_table));
454GBDATA *GBT_next_table_field P_((GBDATA *gb_table_field));
455GBDATA *GBT_next_marked_table_field P_((GBDATA *gb_table_field));
456GBDATA *GBT_find_table_field P_((GBDATA *gb_table, const char *id));
457GB_TYPES GBT_get_type_of_table_entry_field P_((GBDATA *gb_table, const char *fieldname));
458GB_ERROR GBT_savely_write_table_entry_field P_((GBDATA *gb_table, GBDATA *gb_entry, const char *fieldname, const char *value_in_ascii_format));
459GBDATA *GBT_open_table_field P_((GBDATA *gb_table, const char *fieldname, GB_TYPES type_of_field));
460
461#ifdef __cplusplus
462}
463#endif
Note: See TracBrowser for help on using the repository browser.