Datasheet
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-73
4.15.5 ToolConf_Lookup
This function performs a lookup on a specified tag in an
.ami
or
.dsc
file. If the tag is
found, its associated value is returned. Otherwise,
NULL
is returned.
Syntax
const char *ToolConf_Lookup(toolconf hashv, tag_t tag)
where:
hashv
is the database to perform the lookup on.
tag
is the tag to search for in the database. The tag is case-dependent.
Return
The function returns:
• a
const
pointer to the tag value, if the search is successful
•
NULL
, if the search is not successful.
Example
const char *option = ToolConf_Lookup(db, ARMulCnf_Size);
/* ARMulCnf_Size is defined in armcnf.h */