HTMLify
filter.h
Views: 8 | Author: abh
#include "image.h"
#ifndef FILTER_H
#define FILTER_H
typedef struct {
char *name;
int argc;
Image *(*arg_1)(const Image*);
Image *(*arg_2)(const Image*,const Image*);
} Filter;
extern const int filter_count;
extern Filter filters[];
Image *apply_filter(Filter, Image*);
Filter *filter_by_name(const char*);
#endif