diff options
author | kraxel <kraxel> | 2004-03-28 11:31:57 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2004-03-28 11:31:57 +0000 |
commit | e9e9684117719204929821028ba9dbb7915ea119 (patch) | |
tree | 6dd2d71940b33a9f960945335e9124ef4fea9fe7 /writers.h | |
download | fbida-e9e9684117719204929821028ba9dbb7915ea119.tar.gz |
Initial revision
Diffstat (limited to 'writers.h')
-rw-r--r-- | writers.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/writers.h b/writers.h new file mode 100644 index 0000000..bd4a2b3 --- /dev/null +++ b/writers.h @@ -0,0 +1,14 @@ +#include "list.h" +#include <X11/Intrinsic.h> + +/* save image files */ +struct ida_writer { + char *label; + char *ext[8]; + int (*write)(FILE *fp, struct ida_image *img); + int (*conf)(Widget widget, struct ida_image *img); + struct list_head list; +}; + +extern struct list_head writers; +void write_register(struct ida_writer *writer); |