]> arthur.barton.de Git - netatalk.git/commitdiff
remove NO_DDP stuff
authorHAT <hat@fa2.so-net.ne.jp>
Thu, 23 Feb 2012 13:23:48 +0000 (22:23 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Thu, 23 Feb 2012 13:23:48 +0000 (22:23 +0900)
etc/afpd/auth.h
include/atalk/Makefile.am
include/atalk/zip.h [deleted file]

index 46c23fbd1fc7bfe856ef3377bb42ee1879c6f030..2e9d6a584e3f66a94166f9337f49e296d8ac61b0 100644 (file)
@@ -16,11 +16,6 @@ struct afp_versions {
 };
 
 static const struct afp_versions  afp_versions[] = {
-#ifndef NO_DDP
-    { "AFPVersion 1.1", 11 },
-    { "AFPVersion 2.0", 20 },
-    { "AFPVersion 2.1", 21 },
-#endif /* ! NO_DDP */
     { "AFP2.2", 22 },
     { "AFPX03", 30 },
     { "AFP3.1", 31 },
index f38a1c82118dc47a48204fba5d28d6e70a925ed7..f1cf185970a59a2471838ab9b9248232842a429f 100644 (file)
@@ -20,7 +20,6 @@ atalkinclude_HEADERS = \
 noinst_HEADERS = \
        directory.h \
        hash.h \
-       zip.h \
        uuid.h \
        queue.h \
        server_child.h \
diff --git a/include/atalk/zip.h b/include/atalk/zip.h
deleted file mode 100644 (file)
index 42a7d64..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 1990,1991 Regents of The University of Michigan.
- * All Rights Reserved.
- *
- * Permission to use, copy, modify, and distribute this software and
- * its documentation for any purpose and without fee is hereby granted,
- * provided that the above copyright notice appears in all copies and
- * that both that copyright notice and this permission notice appear
- * in supporting documentation, and that the name of The University
- * of Michigan not be used in advertising or publicity pertaining to
- * distribution of the software without specific, written prior
- * permission. This software is supplied as is without expressed or
- * implied warranties of any kind.
- *
- *     Research Systems Unix Group
- *     The University of Michigan
- *     c/o Mike Clark
- *     535 W. William Street
- *     Ann Arbor, Michigan
- *     +1-313-763-0525
- *     netatalk@itd.umich.edu
- */
-
-
-#ifndef _ATALK_ZIP_H
-#define _ATALK_ZIP_H 1
-
-#ifndef NO_DDP
-
-#include <netatalk/endian.h>
-
-struct ziphdr {
-    u_int8_t    zh_op;
-    u_int8_t    zh_cnt;
-#define zh_count       zh_cnt
-#define zh_zero                zh_cnt
-#define zh_flags       zh_cnt
-};
-
-struct zipreplent {
-    u_int16_t   zre_net;
-    u_int8_t    zre_zonelen;
-};
-
-#define ZIPOP_QUERY    1
-#define ZIPOP_REPLY    2
-#define ZIPOP_TAKEDOWN 3       /* XXX */
-#define ZIPOP_BRINGUP  4       /* XXX */
-#define ZIPOP_GNI      5
-#define ZIPOP_GNIREPLY 6
-#define ZIPOP_NOTIFY   7
-#define ZIPOP_EREPLY   8
-#define ZIPOP_GETMYZONE        7
-#define ZIPOP_GETZONELIST 8
-#define ZIPOP_GETLOCALZONES 9
-
-#define ZIPGNI_INVALID 0x80
-#define ZIPGNI_ONEZONE 0x20
-
-#endif  /* NO_DDP */
-#endif