summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl.straw/lib/Imager/include/ext.h
blob: dd1cfbd8f0e545c8388e95684fa7a41c87517788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "imager.h"

#ifndef IMAGER_EXT_H
#define IMAGER_EXT_H

/* structures for passing data between Imager-plugin and the Imager-module */

typedef struct {
  char *name;
  void (*iptr)(void* ptr);
  char *pcode;
} func_ptr;


typedef struct {
  int (*getstr)(void *hv_t,char* key,char **store);
  int (*getint)(void *hv_t,char *key,int *store);
  int (*getdouble)(void *hv_t,char* key,double *store);
  int (*getvoid)(void *hv_t,char* key,void **store);
  int (*getobj)(void *hv_t,char* key,char* type,void **store);
} UTIL_table_t;

#endif