/*
- * $Id: ad_date.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: ad_date.c,v 1.3.14.1 2004-02-20 19:57:14 didg Exp $
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include <atalk/adouble.h>
+#include <string.h>
int ad_setdate(const struct adouble *ad,
unsigned int dateoff, u_int32_t date)
/*
- * $Id: ad_lock.c,v 1.11.6.2 2004-01-28 10:15:39 didg Exp $
+ * $Id: ad_lock.c,v 1.11.6.3 2004-02-20 19:57:14 didg Exp $
*
* Copyright (c) 1998,1999 Adrian Sun (asun@zoology.washington.edu)
* All Rights Reserved. See COPYRIGHT for more information.
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#include <atalk/adouble.h>
+
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif /* HAVE_FCNTL_H */
#include <errno.h>
-#include <atalk/adouble.h>
+#include <string.h>
#include "ad_private.h"
/*
- * $Id: ad_mmap.c,v 1.4 2002-10-05 13:20:14 didg Exp $
+ * $Id: ad_mmap.c,v 1.4.8.1 2004-02-20 19:57:14 didg Exp $
*
* ad_mmap provides interfaces to memory mapped files. as this is the
* case, we don't have to deal w/ temporary buffers such as
#ifdef USE_MMAPPED_HEADERS
#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif /* HAVE_FCNTL_H */
-#include <string.h>
#include <atalk/adouble.h>
+#include <string.h>
#include "ad_private.h"
/*
- * $Id: ad_open.c,v 1.30.6.7 2004-02-14 15:47:22 didg Exp $
+ * $Id: ad_open.c,v 1.30.6.8 2004-02-20 19:57:14 didg Exp $
*
* Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
* Copyright (c) 1990,1991 Regents of The University of Michigan.
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <string.h>
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif /* HAVE_FCNTL_H */
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
#include <errno.h>
-#include <atalk/logger.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+#include <atalk/adouble.h>
#include <sys/param.h>
-#include <sys/mman.h>
+#include <atalk/logger.h>
-#include <netatalk/endian.h>
-#include <atalk/adouble.h>
#include <atalk/util.h>
+#include <string.h>
#include "ad_private.h"
/*
- * $Id: ad_sendfile.c,v 1.6.6.1 2003-10-17 00:01:13 didg Exp $
+ * $Id: ad_sendfile.c,v 1.6.6.2 2004-02-20 19:57:15 didg Exp $
*
* Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
* All rights reserved. See COPYRIGHT.
#ifdef WITH_SENDFILE
+#include <atalk/adouble.h>
+
#include <stdio.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-#include <sys/types.h>
-#include <sys/stat.h>
+
#include <sys/socket.h>
#include <sys/uio.h>
#include <errno.h>
-#include <atalk/adouble.h>
#include <atalk/logger.h>
/*
- * $Id: ad_size.c,v 1.5 2002-10-11 14:18:38 didg Exp $
+ * $Id: ad_size.c,v 1.5.6.1 2004-02-20 19:57:15 didg Exp $
*
* Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
* All rights reserved. See COPYRIGHT.
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#include <stdio.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
-#include <sys/types.h>
-#include <sys/stat.h>
#include <atalk/logger.h>
-
#include <atalk/adouble.h>
off_t ad_size(const struct adouble *ad, const u_int32_t eid)