The
g_provider_by_name ();
function searches for a provider called
Fa name
and returns the structure
Vt g_provider
bound to it.
Argument
Fa name
should be a name, not a full path (i.e.,
``da0
''
instead of
``/dev/da0
''
RESTRICTIONS/CONDITIONS
The topology lock has to be held.
RETURN VALUES
The
g_provider_by_name ();
function
returns a pointer to the provider called
Fa name
or
NULL
if there is no such provider.