--- /dev/null
+/* -*-c-*-
+ *
+ * $Id: acconfig.h,v 1.1 2001/02/04 01:17:54 mdw Exp $
+ *
+ * Configuration header for TrIPE
+ *
+ * (c) 1999 Straylight/Edgeware
+ */
+
+/*----- Licensing notice --------------------------------------------------*
+ *
+ * This file is part of Trivial IP Encryption (TrIPE).
+ *
+ * TrIPE is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * TrIPE is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with TrIPE; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/*----- Revision history --------------------------------------------------*
+ *
+ * $Log: acconfig.h,v $
+ * Revision 1.1 2001/02/04 01:17:54 mdw
+ * Create a configuration header file to tidy up command lines.
+ *
+ */
+
+#ifndef ACCONFIG_H
+#define ACCONFIG_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/*----- Autoconfiguration data --------------------------------------------*/
+@TOP@
+
+/* Package and version number. */
+#define PACKAGE "tripe"
+#define VERSION "1.0.0"
+
+/* Define to disable the tracing options. This might improve performance a
+ * little bit, and can prevent sensitive information from being leaked if
+ * you're in the habit of typing things like `tripectl trace A' by
+ * accident. */
+#undef NTRACE
+
+/* Define according to the type of tunneling interface appropriate for your
+ * system. Linux types should use `TUN_UNET' and build the `usernet'
+ * module. BSD types should use `TUN_BSD' to use the built-in `tun'
+ * devices. */
+#undef TUN_TYPE
+
+@BOTTOM@
+
+/*----- That's all, folks -------------------------------------------------*/
+
+#ifdef __cplusplus
+ }
+#endif
+
+#endif
/* -*-c-*-
*
- * $Id: client.c,v 1.1 2001/02/03 20:26:37 mdw Exp $
+ * $Id: client.c,v 1.2 2001/02/04 01:17:54 mdw Exp $
*
* Client for TrIPE
*
/*----- Revision history --------------------------------------------------*
*
* $Log: client.c,v $
+ * Revision 1.2 2001/02/04 01:17:54 mdw
+ * Create a configuration header file to tidy up command lines.
+ *
* Revision 1.1 2001/02/03 20:26:37 mdw
* Initial checkin.
*
/*----- Header files ------------------------------------------------------*/
+#include "config.h"
+
#include <ctype.h>
#include <errno.h>
#include <signal.h>
dnl -*-fundamental-*-
dnl
-dnl $Id: configure.in,v 1.1 2001/02/03 20:26:37 mdw Exp $
+dnl $Id: configure.in,v 1.2 2001/02/04 01:17:54 mdw Exp $
dnl
dnl Configuration script for TrIPE
dnl
dnl ----- Revision history --------------------------------------------------
dnl
dnl $Log: configure.in,v $
+dnl Revision 1.2 2001/02/04 01:17:54 mdw
+dnl Create a configuration header file to tidy up command lines.
+dnl
dnl Revision 1.1 2001/02/03 20:26:37 mdw
dnl Initial checkin.
dnl
AC_INIT(tripe.c)
AM_INIT_AUTOMAKE(tripe, 1.0.0)
+AM_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
AC_PROG_CC
mdw_GCC_FLAGS
+mdw_OPT_TRACE
case $host_os in
linux*)
/* -*-c-*-
*
- * $Id: tripe.h,v 1.2 2001/02/03 22:40:29 mdw Exp $
+ * $Id: tripe.h,v 1.3 2001/02/04 01:17:55 mdw Exp $
*
* Main header file for TrIPE
*
/*----- Revision history --------------------------------------------------*
*
* $Log: tripe.h,v $
+ * Revision 1.3 2001/02/04 01:17:55 mdw
+ * Create a configuration header file to tidy up command lines.
+ *
* Revision 1.2 2001/02/03 22:40:29 mdw
* Put timer information into the entropy pool when packets are received
* and on similar events. Reseed the generator on the interval timer.
/*----- Header files ------------------------------------------------------*/
+#include "config.h"
+
#include <assert.h>
#include <ctype.h>
#include <errno.h>