/*
- * $Id: asp_getsess.c,v 1.4 2001-09-06 19:04:40 rufustfirefly Exp $
+ * $Id: asp_getsess.c,v 1.4.2.1 2002-02-08 00:02:11 srittau Exp $
*
* Copyright (c) 1990,1996 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
+#include <signal.h>
+#include <syslog.h>
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
-#include <syslog.h>
-#include <errno.h>
-#include <sys/signal.h>
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/uio.h>
-
-/* POSIX.1 sys/wait.h check */
-#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/param.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif /* HAVE_SYS_WAIT_H */
-#ifndef WEXITSTATUS
-#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
-#endif /* ! WEXITSTATUS */
-#ifndef WIFEXITED
-#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
-#endif /* ! WIFEXITED */
-#include <sys/socket.h>
-#include <sys/param.h>
#include <netatalk/at.h>
#include <atalk/compat.h>
#include <atalk/atp.h>
#include <atalk/asp.h>
#include <atalk/server_child.h>
+
#include "asp_child.h"
+#ifndef WEXITSTATUS
+#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
+#endif /* ! WEXITSTATUS */
+#ifndef WIFEXITED
+#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
+#endif /* ! WIFEXITED */
+
static ASP server_asp;
static struct server_child *children = NULL;
static struct asp_child **asp_ac = NULL;
/*
- * $Id: nbp_lkup.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nbp_lkup.c,v 1.3.2.1 2002-02-08 00:04:49 srittau Exp $
*
* Copyright (c) 1990,1997 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#endif /* HAVE_CONFIG_H */
#include <string.h>
+#include <errno.h>
+#include <signal.h>
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/time.h>
+
#include <netatalk/endian.h>
#include <netatalk/at.h>
#include <netatalk/ddp.h>
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif /* HAVE_NETDB_H */
-#include <errno.h>
#include "nbp_conf.h"
/*
- * $Id: nbp_rgstr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nbp_rgstr.c,v 1.3.2.1 2002-02-08 00:04:49 srittau Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#endif /* HAVE_CONFIG_H */
#include <string.h>
+#include <errno.h>
+#include <signal.h>
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/time.h>
-#include <errno.h>
#include <netatalk/at.h>
#include <netatalk/endian.h>
/*
- * $Id: nbp_unrgstr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nbp_unrgstr.c,v 1.3.2.1 2002-02-08 00:04:49 srittau Exp $
*
* Copyright (c) 1990,1997 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#endif /* HAVE_CONFIG_H */
#include <string.h>
+#include <errno.h>
+#include <signal.h>
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/time.h>
-#include <errno.h>
+
#include <netatalk/endian.h>
#include <netatalk/at.h>
#include <atalk/nbp.h>
/*
- * $Id: nbp_util.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nbp_util.c,v 1.3.2.1 2002-02-08 00:04:49 srittau Exp $
*
* Copyright (c) 1990,1997 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#endif /* HAVE_CONFIG_H */
#include <string.h>
-#ifdef HAVE_NETDB_H
-#include <netdb.h>
-#endif /* HAVE_NETDB_H */
+#include <signal.h>
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/time.h>
#include <netatalk/endian.h>
#include <atalk/ddp.h>
#include <atalk/util.h>
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif /* HAVE_NETDB_H */
+
#include "nbp_conf.h"
char nbp_send[ 1024 ];