fame_get_object

Langue: en

Version: 326146 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

fame_get_object - get an object from the library

SYNOPSIS

 #include <fame.h>
 
 fame_object_t *fame_get_object(fame_context_t *context, char const *type);
 

DESCRIPTION

fame_get_object() is used to retrieve the object associated with type from the library.

context is the context handle previously returned by fame_open

type is the type of the object to be retrieved.

For a list of built-in objects and their associated type, see fame_register

RETURN VALUE

fame_get_object returns the object, or NULL if not found.

SEE ALSO

fame_open(3) fame_init(3) fame_register(3) fame_unregister(3)