#ifndef angsd_hostchan_h
#define angsd_hostchan_h
-/* If under Cygwin, provide backwards compatibility with older
- Cygwin compilers that don't define the current cpp define. */
-#ifdef __CYGWIN32__
-#ifndef __CYGWIN__
-#define __CYGWIN__
-#endif
+/* A temporary sop to older compilers */
+#if defined (__NetBSD__) || defined (unix)
+# ifndef __unix /* (good for long-term portability?) */
+# define __unix 1
+# endif
#endif
/* struct timeval */
extern Packet *Adp_removeFromQueue(Packet **head);
+/*
+ * Set log file and Enable/disable logging of ADP packets to file.
+ */
+
+void Adp_SetLogfile(const char *filename);
+void Adp_SetLogEnable(int logEnableFlag);
+
/*
* Function: Adp_OpenDevice
* Purpose: Open a device to use for channels communication. This is a