/*
 * Copyright 1988, 1989, 1990, 1991 Massachusetts Institute of Technology
 */
/* extens.h */

#ifndef EXTENS_H
#define EXTENS_H

/* valid extensions */
/* Put a line here for each extension declaring the ctrl function and
   dofuncs function */
#ifdef SAMPLE
extern int  sample_ext_ctrl(), sample_ext_dofuncs();
#endif /* SAMPLE */
#ifdef SEAMLESS
extern int  seamless_ext_ctrl(), seamless_ext_dofuncs();
#endif /* SEAMLESS */
static struct _extz
{
	char *the_name;
	int (*ctrlfuncs)();
	int (*dofuncs)();
} exten_tbl[] =
	{
/* Put a line here for each extension pointing to its name, ctrl function
   and dofuncs function.  The EXTENS Makefile variable is used to
   enable various extensions. */
/*      Extension name    , control function   , dofuncs function, */
#ifdef SAMPLE
	"SAMPLE_EXTENSION",	sample_ext_ctrl, sample_ext_dofuncs,
#endif /* SAMPLE */
#ifdef SEAMLESS
	"Seamless editing",     seamless_ext_ctrl, seamless_ext_dofuncs,
#endif /* SEAMLESS */
	};

#define NUM_EXTENS	(sizeof(exten_tbl) / sizeof(struct _extz))

#endif /* EXTENS_H */



