Displaying 1 result from an estimated 1 matches for "updatelibraryfunction".
2007 Mar 07
4
Plugin Library Interface
...v;
CompLibraryFunction *next;
char *name;
void *function;
};
Core also gets a number of utility functions:
void addLibraryFunction (CompDisplay *d, char *name, void *function);
void removeLibraryFunction (CompDisplay *d, char *name);
void* getLibraryFunction (CompDisplay *d, char* name);
void updateLibraryFunction(CompDisplay *d, CompLibraryFunction *func);
You can register a function through addLibraryFunction and remove it
with removeLibraryFunction.
Whenever a function gets added or removed updateLibraryFunction is
called. Like initScreen/finiScreen it's done through a additional
entry in the vTable....