aboutsummaryrefslogtreecommitdiffstats
path: root/writers.h
blob: bd4a2b395993ea097f18909cdcb529b9a59bf108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);