File: writers.h

package info (click to toggle)
fbi 2.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,052 kB
  • sloc: ansic: 24,426; sh: 138; perl: 16; makefile: 9
file content (14 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (9)
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);