+/*
+ * $Id: megatron.h,v 1.5 2009-10-14 01:38:28 didg Exp $
+ */
+
+#ifndef _MEGATRON_H
+#define _MEGATRON_H 1
+
#include <atalk/adouble.h>
#ifndef STDIN
# define STDIN "-"
-#endif
+#endif /* ! STDIN */
/*
Where it matters, data stored in either of these two structs is in
#define OPTION_NONE (0)
#define OPTION_HEADERONLY (1 << 0)
#define OPTION_STDOUT (1 << 2)
+#define OPTION_EUCJP (1 << 3)
+#define OPTION_SJIS (1 << 4)
struct FInfo {
u_int32_t fdType;
#ifndef S_ISDIR
# define S_ISDIR(s) (( s & S_IFMT ) == S_IFDIR )
-#endif
+#endif /* ! S_ISDIR */
+
+extern char *forkname[];
+extern char *(*_mtoupath) ( char *);
+extern char *(*_utompath) ( char *);
+#define mtoupath(s) (*_mtoupath)(s)
+#define utompath(s) (*_utompath)(s)
-extern char *mtoupath( char *);
+#endif /* _MEGATRON_H */