Fixing for new autotools.
[become] / src / become.h
index 69588fd..b08f72c 100644 (file)
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: become.h,v $
- * Revision 1.3  1998/04/23 13:21:28  mdw
- * Disable trace constants for networking when it's not compiled in.
- *
- * Revision 1.2  1998/01/12 16:45:42  mdw
- * Fix copyright date.
- *
- * Revision 1.1  1997/08/07 09:40:01  mdw
- * Added.  No idea why this wasn't done before.
- *
- */
-
 #ifndef BECOME_H
 #define BECOME_H
 
 #  include "config.h"
 #endif
 
+/*----- Other configuration -----------------------------------------------*/
+
+#define file_KEY ETCDIR "/become.key"
+#define file_PUBKEY ETCDIR "/become.pubkey"
+#define file_RULES ETCDIR "/become.conf"
+#define file_SERVER ETCDIR "/become.server"
+
+#ifdef NDEBUG
+#  define D(x) /* empty */
+#else
+#  define D(x) x
+#endif
+
 /*----- Tracing levels ----------------------------------------------------*/
 
 #define TRACE_SILENT   0u
                          TRACE_DAEMON | TRACE_CHECK )
 #define TRACE_ALL      0xFFFFu
 
+/*----- Other magic constants ---------------------------------------------*/
+
+#define SERVER_PORT 35523              /* Not allocated properly */
+
 /*----- Type definitions --------------------------------------------------*/
 
 /* --- Request buffer (plaintext) --- */