aboutsummaryrefslogtreecommitdiff
path: root/mpiosh/mpiosh.h
diff options
context:
space:
mode:
Diffstat (limited to 'mpiosh/mpiosh.h')
-rw-r--r--mpiosh/mpiosh.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/mpiosh/mpiosh.h b/mpiosh/mpiosh.h
index 5bb76da..8291178 100644
--- a/mpiosh/mpiosh.h
+++ b/mpiosh/mpiosh.h
@@ -2,7 +2,7 @@
*
* Author: Andreas Büsching <crunchy@tzi.de>
*
- * $Id: mpiosh.h,v 1.7 2002/10/12 18:31:45 crunchy Exp $
+ * $Id: mpiosh.h,v 1.8 2002/10/12 20:06:22 crunchy Exp $
*
* Copyright (C) 2002 Andreas Büsching <crunchy@tzi.de>
*
@@ -24,39 +24,14 @@
#ifndef _MPIOSH_H_
#define _MPIOSH_H_
-#include "libmpio/mpio.h"
#include "libmpio/debug.h"
-typedef void(*mpiosh_cmd_callback_t)(char *args[]);
-typedef char *(*mpiosh_comp_callback_t)(const char *text, int state);
-
-typedef struct {
- mpio_t * dev;
- mpio_mem_t card;
- const char * prompt;
-} mpiosh_t;
-
-typedef struct {
- char * cmd;
- char * args;
- char * info;
- mpiosh_cmd_callback_t cmd_func;
- mpiosh_comp_callback_t comp_func;
-} mpiosh_cmd_t;
-
+#include "global.h"
+
/* mpiosh core functions */
void mpiosh_signal_handler(int signal);
void mpiosh_init(void);
-/* global structures */
-extern mpiosh_t mpiosh;
-extern mpiosh_cmd_t commands[];
-extern int mpiosh_cancel;
-extern int mpiosh_cancel_ack;
-
-extern const char *PROMPT_INT;
-extern const char *PROMPT_EXT;
-
#endif // _MPIOSH_H_
/* end of mpiosh.h */