14 char *PHDATA::unload() {
18 for (phentry=entries; phentry; phentry=phentry->next) {
20 free(phentry->full_name);
52 PHENTRY *new_entry =
new PHENTRY;
54 new_entry->gb_species_data_ptr = gb_data;
56 new_entry->key = last_key_number++;
60 new_entry->prev = tail;
61 new_entry->next =
NULp;
64 tail = entries = new_entry;
67 tail->next = new_entry;
80 PHENTRY *phentry = entries;
81 for (
unsigned int i = 0; i <
nentries; i++) {
83 phentry = phentry->next;
GBDATA * GBT_first_marked_species(GBDATA *gb_main)
char * ARB_strdup(const char *str)
long GBT_get_alignment_len(GBDATA *gb_main, const char *aliname)
GB_ERROR GB_push_transaction(GBDATA *gbd)
char * GBT_read_string(GBDATA *gb_container, const char *fieldpath)
GBDATA * GBT_next_marked_species(GBDATA *gb_species)
GB_ERROR GB_pop_transaction(GBDATA *gbd)
TYPE * ARB_calloc(size_t nelem)
GB_CSTR GBT_get_name_or_description(GBDATA *gb_item)
GBDATA * GB_entry(GBDATA *father, const char *key)