Exemple #1
0
char * linkage_get_link_label(Linkage linkage, int index) {
    Link link;
    if (!verify_link_index(linkage, index)) return NULL;
    link = linkage->sublinkage[linkage->current].link[index];
    return link->name;
}
Exemple #2
0
int linkage_get_link_rword(Linkage linkage, int index) {
    Link link;
    if (!verify_link_index(linkage, index)) return -1;
    link = linkage->sublinkage[linkage->current].link[index];
    return link->r;
}
Exemple #3
0
int linkage_get_link_num_domains(const Linkage linkage, LinkIdx index)
{
	if (!verify_link_index(linkage, index)) return -1;
	return linkage->pp_info[index].num_domains;
}
Exemple #4
0
const char * linkage_get_link_rlabel(const Linkage linkage, LinkIdx index)
{
	if (!verify_link_index(linkage, index)) return NULL;
	return connector_string(linkage->link_array[index].rc);
}
Exemple #5
0
const char * linkage_get_link_label(const Linkage linkage, LinkIdx index)
{
	if (!verify_link_index(linkage, index)) return NULL;
	return linkage->link_array[index].link_name;
}
Exemple #6
0
WordIdx linkage_get_link_rword(const Linkage linkage, LinkIdx index)
{
	if (!verify_link_index(linkage, index)) return SIZE_MAX;
	return linkage->link_array[index].rw;
}