Next: , Previous: , Up: Executive Assembler Introduction   [Index]


8.1.12 Displaying The Functions List

Construct the aime executive and pick the functions list from it:

See Assembling The Executive.

    struct x1f4_indexset_type indexset;

    context_data->indexset_data = &indexset;

    context_data->argv = (void *) context_data;

    if (init_xset(context_data)) {
    } else {

Traverse the list with x1f4_lime_mxdeck - the functions list is a regular named objects collection:

See x1f4_lime_mxdeck.

See Named Objects Collections.

See struct x1f4_indexset_type.

	x1f4_lime_mxdeck(indexset.function_set.text, context_data, list_text);

	fini_xset(context_data);
    }

The function definition dumper function:

static int
list_text(void *context, const void *text)
{
    x1f4_print_htfunction
	(stdout, text, "", ((struct context_type *) context)->indexset_data,
	 x1f4_look_indexset);

    return 0;
}