#ifndef __HANDLER_H
#define __HANDLER_H

typedef struct
{
	char *pathname;
	int (*handler) (unsigned long *, unsigned long);
} handler_t;

int handler_append (handler_t * ph,
		    int (*handler) (unsigned long *, unsigned long));
int handler_run (handler_t * ph, unsigned long *mapbase, unsigned long args);
handler_t *handler_new (char *pathname);

#endif
