-#ifndef SQUID_CONFIG_H
-#include "config.h"
-#endif
+/*
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
+#ifndef SQUID_COMPAT_EUI64_ATON_H
+#define SQUID_COMPAT_EUI64_ATON_H
/* If we have this system file use it. Otherwise use the below definitions. */
#if HAVE_SYS_EUI64_H
*/
#ifndef _SYS_EUI64_H
#define _SYS_EUI64_H
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#define SQUID_EUI64_ATON 1
/**
* Size of the ASCII representation of an EUI-64.
* Structure of an IEEE EUI-64.
*/
struct eui64 {
- u_char octet[EUI64_LEN];
+ uint8_t octet[EUI64_LEN];
};
-#ifdef __cplusplus
-extern "C"
-#endif
int eui64_aton(const char *a, struct eui64 *e);
+#if defined(__cplusplus)
+}
+#endif
#endif /* !_SYS_EUI64_H */
#endif /* HAVE_SYS_EUI64_H */
+#endif /* SQUID_COMPAT_EUI64_ATON_H */
+