Displaying 1 result from an estimated 1 matches for "unregister_callback".
Did you mean:
register_callback
2010 Apr 27
4
Patch sensible callback framework
...record {
+ uint16_t type;
+ void *function;
+ struct callback_record *next;
+} callback_record;
+
+typedef void (*cb_loadfile_t)(const char* file, size_t cur, size_t total);
+typedef void (*cb_floadfile_t)(size_t cur, size_t total);
+
+
+int register_callback(uint16_t type, void *callback);
+int unregister_callback(uint16_t type, void *callback);
+
+callback_record* foreach_callback(callback_record *current);
+callback_record* foreach_callback_type(callback_record *current, uint16_t type);
+
+#endif
diff -uprN syslinux-3.86-vanilla/com32/lib/Makefile syslinux-3.86/com32/lib/Makefile
--- syslinux-3.86-vanilla/...