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