<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqutil">
<Function File="../../src/liblqutil/namespace.c">
<Name>LQU_NameRefIsValid</Name>
<Class>Utilities/Name Space
<Purpose>
<P>Determines whether the given NameRef is a valid reference to
a name in the given NameSpace.</P>
<P>A NameRef is invalid if it is a NULL pointer, or if the Name
to which it refers has been deleted from the NameSpace.</P>
<Notes>
<P>This function does <E>not</E> check to see whether a NameRef
has been corrupted; the given NameRef must either be NULL, or have
previously been a valid NameRef in the given NameSpace.
<Returns>
Non-zero if the NameRef is valid, and zero otherwise.
<SeeAlso>
LQU_StringToNameRef
LQU_SetNameVariable
</Function>
<Decl>
API int
LQU_NameRefIsValid(NameSpace, NameRef)
    t_NameSpace *NameSpace;
    t_NameRef NameRef;
</Decl>
</Entry>
