18 #ifndef OPFLEX_C_OFOBJECTLISTENER_H 19 #define OPFLEX_C_OFOBJECTLISTENER_H void(* ofnotify_p)(void *user_data, class_id_t class_id, ofuri_p uri)
A function pointer to a function to receive notificiations.
Definition: ofobjectlistener_c.h:48
ofobj_p ofuri_p
A pointer to a URI object.
Definition: ofuri_c.h:40
ofstatus ofobjectlistener_destroy(ofobjectlistener_p *listener)
Destroy an object listener, and zero the pointer.
uint64_t class_id_t
A unique class ID.
Definition: ofcore_c.h:94
void * ofobj_p
Base type for all OpFlex object pointers.
Definition: ofcore_c.h:89
ofobj_p ofobjectlistener_p
A pointer to an object listener object.
Definition: ofobjectlistener_c.h:40
ofstatus ofobjectlistener_create(void *user_data, ofnotify_p callback, ofobjectlistener_p *listener)
Create a new object listener.
C wrapper core defininitions.
int ofstatus
An opflex status code.
Definition: ofcore_c.h:84