summaryrefslogtreecommitdiff
path: root/libs/fst/fst.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-06-22 21:04:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-06-22 21:04:47 +0000
commit2b5d095464a28ae680cf4454af99b4debd3bcabf (patch)
tree4ef4347a5f29e186c7d3e8284e7a3dac222fd157 /libs/fst/fst.h
parent58c39d50b11592c0482eb9be460889fc20ba7440 (diff)
correctly forward configure events to plugin windows, and cleanup FST code
git-svn-id: svn://localhost/ardour2/trunk@635 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst/fst.h')
-rw-r--r--libs/fst/fst.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/libs/fst/fst.h b/libs/fst/fst.h
index 61dc09a2a1..9055eac620 100644
--- a/libs/fst/fst.h
+++ b/libs/fst/fst.h
@@ -8,18 +8,18 @@
/**
* 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 *));
@@ -81,7 +81,7 @@ struct _FST
extern "C" {
#endif
-extern int fst_init (void (*sighandler)(int,siginfo_t*,void*));
+extern int fst_init ();
extern FSTHandle* fst_load (const char*);
extern int fst_unload (FSTHandle*);
@@ -96,9 +96,6 @@ extern int fst_run_editor (FST*);
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 );