/* V9t9.H ====== */ #ifndef __V9t9_H__ #define __V9t9_H__ #include "OSLib.h" #include "centry.h" extern OSPathSpec v9t9_homedir; extern OSSpec v9t9_progspec; // frontend must set these up extern int v9t9_argc; extern char **v9t9_argv; extern char *sessionspath, *configspath; // call to set up globals int v9t9_config(int argc, char **argv); // call after system init int v9t9_init(void); int v9t9_restart(void); void v9t9_restop(void); // returns em_xxx flag int v9t9_execute(void); void v9t9_term(int exitcode); // terminate via SIGINT (ctrl-c, etc) void v9t9_sigint(int exitcode); // terminate via SIGTERM (OS shutdown) void v9t9_sigterm(int exitcode); #include "cexit.h" #endif