]> arthur.barton.de Git - netatalk.git/blobdiff - bin/megatron/megatron.h
Use correct member of forklen array, from Olaf Hering
[netatalk.git] / bin / megatron / megatron.h
index 9190d499b164c04136aac5d37d7df826a96bd71b..ec36053b408b7cffa533942a54dddcdff5fdb215 100644 (file)
@@ -1,8 +1,15 @@
+/*
+ * $Id: megatron.h,v 1.3 2002-04-29 01:52:50 morgana 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
@@ -30,6 +37,8 @@
 #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;
@@ -81,6 +90,11 @@ struct FHeader {
 
 #ifndef S_ISDIR
 #      define S_ISDIR(s)       (( s & S_IFMT ) == S_IFDIR )
-#endif
+#endif /* ! S_ISDIR */
+
+extern char     *(*_mtoupath) __P(( char *));
+extern char     *(*_utompath) __P(( char *));
+#define mtoupath(s) (*_mtoupath)(s)
+#define utompath(s) (*_utompath)(s)
 
-extern char *mtoupath( char *);
+#endif /* _MEGATRON_H */