root/src/lib/dynamic_filters.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


#ifndef _DYNAMIC_FILTERS_H_
#define _DYNAMIC_FILTERS_H_

#include "script.h"

struct imlib_filter_info
{
   char *name;
   char *author;
   char *description;
   char **filters;
   int num_filters;
};

typedef struct _imlib_external_filter ImlibExternalFilter;
typedef struct _imlib_external_filter *pImlibExternalFilter;
struct _imlib_external_filter
{
   char *name;
   char *author;
   char *description;
   int    num_filters;
   char  *filename;
   void  *handle;
   char **filters;
   void  (*init_filter)( struct imlib_filter_info *info );
   void  (*deinit_filter)();
   void  *(*exec_filter)( char *filter, void *im, pIFunctionParam params );
   pImlibExternalFilter next;
};

__hidden void                 __imlib_dynamic_filters_init();
__hidden void                 __imlib_dynamic_filters_deinit();
__hidden pImlibExternalFilter __imlib_get_dynamic_filter( char *name );
__hidden char               **__imlib_ListFilters(int *num_ret);
__hidden pImlibExternalFilter __imlib_LoadFilter( char *file );



#endif




/* [<][>][^][v][top][bottom][index][help] */