typedef int (*io_callback)(char *, int);
typedef char *(*env_callback)(const char *, int);
/*
 * The following routine is called by the embedded application to
 * hijack STDIN, STDOUT, and @env array so they are handled via the
 * supplied callbacks instead of the perl core.
 */
int serverapp_hijack_std_streams ( 
	io_callback alt_write,
	io_callback alt_read,
	env_callback alt_getenv );
extern void	boot_ServerApp (pTHX_ CV* cv);	/* bootstrap routine */
void serverapp_initialize ( pTHX_ CV *cv );
/*
 * The serverapp_module_def contains the perl module source (ServerApp.pm)
 */
char *serverapp_module_def;
