hide or rename any symbols that are likely to conflict with other
[imager.git] / ext.h
CommitLineData
02d1d628
AMH
1#include "image.h"
2
b33c08f8
TC
3#ifndef IMAGER_EXT_H
4#define IMAGER_EXT_H
5
02d1d628
AMH
6/* structures for passing data between Imager-plugin and the Imager-module */
7
8typedef struct {
9 char *name;
10 void (*iptr)(void* ptr);
11 char *pcode;
12} func_ptr;
13
14
15typedef struct {
16 int (*getstr)(void *hv_t,char* key,char **store);
17 int (*getint)(void *hv_t,char *key,int *store);
18 int (*getdouble)(void *hv_t,char* key,double *store);
19 int (*getvoid)(void *hv_t,char* key,void **store);
20 int (*getobj)(void *hv_t,char* key,char* type,void **store);
21} UTIL_table_t;
b33c08f8
TC
22
23#endif