New sources and targets.
[fwd] / exec.h
diff --git a/exec.h b/exec.h
new file mode 100644 (file)
index 0000000..7faeecf
--- /dev/null
+++ b/exec.h
@@ -0,0 +1,78 @@
+/* -*-c-*-
+ *
+ * $Id: exec.h,v 1.1 1999/07/26 23:33:32 mdw Exp $
+ *
+ * Source and target for executable programs
+ *
+ * (c) 1999 Straylight/Edgeware
+ */
+
+/*----- Licensing notice --------------------------------------------------* 
+ *
+ * This file is part of the `fw' port forwarder.
+ *
+ * `fw' is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * `fw' is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with `fw'; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/*----- Revision history --------------------------------------------------* 
+ *
+ * $Log: exec.h,v $
+ * Revision 1.1  1999/07/26 23:33:32  mdw
+ * New sources and targets.
+ *
+ */
+
+#ifndef EXEC_H
+#define EXEC_H
+
+#ifdef __cplusplus
+  extern "C" {
+#endif
+
+/*----- Header files ------------------------------------------------------*/
+
+#ifndef SOURCE_H
+#  include "source.h"
+#endif
+
+#ifndef TARGET_H
+#  include "target.h"
+#endif
+
+/*----- Source and target -------------------------------------------------*/
+
+extern source_ops xsource_ops;
+extern target_ops xtarget_ops;
+
+/*----- Other functions ---------------------------------------------------*/
+
+/* --- @exec_init@ --- *
+ *
+ * Arguments:  ---
+ *
+ * Returns:    ---
+ *
+ * Use:                Initializes the executable problem source and target.
+ */
+
+extern void exec_init(void);   
+
+/*----- That's all, folks -------------------------------------------------*/
+
+#ifdef __cplusplus
+  }
+#endif
+
+#endif