From d573222b9790cd171d7dc6850f2a754037cd33e0 Mon Sep 17 00:00:00 2001 From: HAT Date: Thu, 23 Feb 2012 22:23:48 +0900 Subject: [PATCH 1/1] remove NO_DDP stuff --- etc/afpd/auth.h | 5 ---- include/atalk/Makefile.am | 1 - include/atalk/zip.h | 61 --------------------------------------- 3 files changed, 67 deletions(-) delete mode 100644 include/atalk/zip.h diff --git a/etc/afpd/auth.h b/etc/afpd/auth.h index 46c23fbd..2e9d6a58 100644 --- a/etc/afpd/auth.h +++ b/etc/afpd/auth.h @@ -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 }, diff --git a/include/atalk/Makefile.am b/include/atalk/Makefile.am index f38a1c82..f1cf1859 100644 --- a/include/atalk/Makefile.am +++ b/include/atalk/Makefile.am @@ -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 index 42a7d648..00000000 --- a/include/atalk/zip.h +++ /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 - -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 -- 2.39.2