/**
* Display FST error message.
*
- * Set via fst_set_error_function(), otherwise a FST-provided
- * default will print @a msg (plus a newline) to stderr.
- *
- * @param msg error message text (no newline at end).
+ * @param fmt printf-style formatting specification
*/
-extern void (*fst_error_callback)(const char *msg);
+extern void fst_error (const char *fmt, ...);
/**
* Set the @ref fst_error_callback for error message display.
*
* The FST library provides two built-in callbacks for this purpose:
- * default_fst_error_callback() and silent_fst_error_callback().
+ * default_fst_error_callback().
+ *
+ * The default will print the message (plus a newline) to stderr.
+ *
*/
void fst_set_error_function (void (*func)(const char *));
extern "C" {
#endif
-extern int fst_init (void (*sighandler)(int,siginfo_t*,void*));
+extern int fst_init ();
+extern void fst_finish ();
extern FSTHandle* fst_load (const char*);
extern int fst_unload (FSTHandle*);
extern void fst_destroy_editor (FST*);
extern int fst_get_XID (FST*);
-extern int fst_adopt_thread ();
-extern void* fst_get_teb();
-
extern void fst_signal_handler (int sig, siginfo_t* info, void* context);
extern FSTInfo *fst_get_info( char *dllpathname );