udbLookupEntity |
Returns a list of entities that match the specified name, kind, and/or shortname.
#include “udb/udb.h” void udbLookupEntity( char *name, char *kind, int shortname, UdbEntity **entities, int *matchline);
Argument
|
Description
|
---|---|
char *name
|
Name of entity to lookup.
|
char *kind
|
Kind of entity to lookup.
|
int shortname
|
If true, allow shortname matches. Longname matches are always allowed.
|
UdbEntity **entities
|
Returns allocated list of entities. This list may be freed with udbListEntityFree.
|
int *matchline
|
If not NULL, returns the size of the entities list.
|
There are no return values.
Scientific Toolworks, Inc. http://www.scitools.com |