# This is an exclusion file for the ifdex tool, which is used to generate
# and filter reports about #if guards in order to locate configuration symbols
# and plain old cruft.
#
# Should be used together with waf's config.h output, which ifdex can
# interpret to exclude most of its config symbols. Thus, from the toplevel
# directory:
#
# ifdex -X build/config.h -X devel/ifdex-ignores .
#
# No output from this command means all symbols are accounted for

# These are potential feature configuration symbols
ENABLE_ONCORE_SHMEM	# Should OnCore report via shmem?
ENABLE_KILL_ON_TRAP	# Die on seccomp trap
MSSNTP_PATH		# Set a default path for the MSSNTP feature.
NTP_VAR			# Path to NTP statistics directory

# Formerly used on some embedded systems. Keep around in case of re-port
NO_MAIN_ALLOWED		# Used to be set by VxWorks.

# System capabilities that waf should detect but does not.
# Presently they're either forced on in waf or never set at all
OS_MISSES_SPECIFIC_ROUTE_UPDATES

# Refclock-specific configuration (NTP Classic never set these)
ENABLE_PPS720		# Enable use of PCL720 with TrueTime refclock
NEOCLOCK4X_FIRMWARE	# Only used in the Neoclock4x driver
TRIM_POLLRATE		# In the parse driver

# Other
NEED_SRANDOMDEV		# Random-number initialization - never set by NTP Classic
NTPD_PRIO		# Priority to set the daemon to

# Fine-grained debugging and tracing, not presently settable from waf
DEBUG
ISC_LIST_CHECKINIT	# Debugging flag
ISC_PLATFORM_USEBACKTRACE	# Use the ISC backtrace code on assertions
ISC_UTIL_TRACEON	# Enables trace code in ISC service routines.
HAVE_LIBCTRACE		# Some random C tracing lib - NTP Classic never sets this
DEBUG_PARSELIB		# Enable debugging in the parse library.
MKREPRO_DATE		# Force the build date used for time stepping
NTP_DEBUG_LISTS		# Debug list handling
DEBUG_PPS720		# Only in refclock_true.c

# AIX and Solaris had at one time a bug in the way they declared
# PTHREAD_ONCE_INIT.  This enables a workaround.  It may no longer be
# needed, so let's wait on report rather than pre-complexifying the
# waf logic.
ISC_PLATFORM_BRACEPTHREADONCEINIT

# This is from a Python compatibility hack
PY_MAJOR_VERSION

# This is from a library header
MOD_TIMETICK

# Things WAF sets that don't get #undefs if they're not set
ENABLE_EARLY_DROPROOT
ENABLE_LEAP_SMEAR
ENABLE_SECCOMP
ENABLE_DEBUG_TIMING
ENABLE_DNS_RETRY
ENABLE_LOCKCLOCK
ENABLE_MDNS_REGISTRATION
ENABLE_MSSNTP
HAVE_LINUX_CAPABILITY
HAVE_OPENSSL
HAVE_SECCOMP
HAVE_SECCOMP_H
HAVE_SOLARIS_PRIVS
ISC_PLATFORM_NORETURN_POST
ISC_PLATFORM_NORETURN_PRE
PLATFORM_OPENBSD
WORDS_BIGENDIAN
PLATFORM_FULL

# libsodium
SODIUM_DLL_EXPORT
SODIUM_STATIC
sodium_H
sodium_core_H
sodium_export_H
sodium_utils_H
SYS_getrandom
randombytes_H
randombytes_sysrandom_H
ULONG_LONG_MAX

# Overrides
OVERRIDE_BINTIME_CTLMSGBUF_SIZE
OVERRIDE_FD_CHUNK
OVERRIDE_FD_PREFERRED_SOCKBOUNDARY
MAXASSOC		# Can't change this bofore ntpq library refactoring
MAXLIST			# Can't change this bofore ntpq library refactoring
OVERRIDE_NTIME_MSG
OVERRIDE_OTIME_MSG
OVERRIDE_THREAD_MINSTACKSIZE
OVERRIDE_TIMESTAMPNS_CTLMSGBUF_SIZE
OVERRIDE_TIMESTAMP_CTLMSGBUF_SIZE

# Constants in time and calendar logic
DAY_GPS_STARTS
DAY_NTP_STARTS
DSTMINUTES

# Conditionals for unit tests
TEST_LIBNTP
TEST_NTPD
TEST_NTPDIG

# Purely internal symbols
CONFIG_H
BITSPERCHAR		# Only used in the Arcron refclock
BACKTRACE_MAXFRAME	# Internal to the ISC backtrace code
BACKTRACE_LIBC
BACKTRACE_GCC
BACKTRACE_X86STACK
BACKTRACE_DISABLED
CMOCK			# Internal to the Unity test framework
COMPILE_UNUSED_FUNCTIONS#	# Only used in ntp_random.c
CONFIG_FILE		# Only used in ntp_config.h
DEVOLATILE		# Only used in work_thread.c
ENABLE_NLS		# Autogenerated into C by Bison.
FD_CHUNK		# Used for fd allocation in socket.c
FD_PREFERRED_SOCKBOUNDARY
GUARD_.*		# Idempotency guards
INC_MONLIST		# Exposed from ntp_monitor.c for hysterical raisins
INIT_MONLIST		# Exposed from ntp_monitor.c for hysterical raisins
ISC_CHECK_ALL
ISC_CHECK_ENSURE
ISC_CHECK_INSIST
ISC_CHECK_INVARIANT
ISC_CHECK_NONE
ISC_CHECK_REQUIRE
ISC_FIX_TV_USEC
ISC_MUTEX_PROFTABLESIZE
JSMN_PARENT_LINKS
JSMN_STRICT
LIB_BUFLENGTH		# Only referenced by #if as a sanity check
LOG_NTP
MIN			# Minimum macro
MRU_MAXDEPTH_DEF	# Exposed from ntp_monitor.c for hysterical raisins
NEOCLOCK4X_FIRMWARE_VERSION_A	# Only used in the Neoclock4x driver
NMEA_WRITE_SUPPORT	# Only used in the NMEA refclock
NTIME_MSG
OTIME_MSG
FLASH_CODES_UNUSED
NOTUSED
ONCORE_VERBOSE_.*	# Debugging symbols internal to the OnCore refclock
PI			# Math constant used by the sim code
RUN_TEST		# Internal to Unity
SETSOCKOPT_ARG_CAST	# Can probably go away when the Windows port is cleaned up.
THREAD_MINSTACKSIZE
UINTPTR_MAX		# Unity
UINTPTR_MAX0		# Unity
INTPTR_MAX0		# Unity
UNITY_.*		# Unity test framework internal macros
UNUSED_ARG		# Used to quiet compiler warnings
UNUSED_LOCAL		# Used to quiet compiler warnings
UPDATE_GRACE		# ntp_io.c only
USE_COMPILETIME_PIVOT	# Use build date in disambiguating time.

USE_PACKET_TIMESTAMP    # setup and used in ntp_io
USE_SCM_BINTIME		# to grab timestamp for recv packet
USE_SCM_TIMESTAMP	# "
USE_SCM_TIMESTAMPNS	# "

USE_WORKER		# Asynchronous DNS available, needs pthreads
USE_WORK_PIPE		# Set in ntp_workimpl.h
USE_WORK_THREAD


USE_IPV6_MULTICAST_SUPPORT
USE_LIFC_FAMILY
USE_LIFC_FLAGS
USE_OPENSSL_HASH
USE_RANDOMIZE_RESPONSES
USE_PCM_STYLE_SOUND
USE_ROUTING_SOCKET
YY_YY_NTP_PARSER_TAB_H_INCLUDED
calloc			# In Unity
close			# In Windows port config
free			# In Unity and ntpd/ntp_parser.tab.c
malloc			# In Unity and ntpd/ntp_parser.tab.c
in_addr6		# In Windows port config
lifr_addrlen		# ISC interface-iterator code
mac			# Avoid name conflict.
ntohl			# In Windows port config
realloc			# Internal to Unity
sem_timedwait		# In worker-thread code
short			# In ntpd/ntp_parser.tab.c
size_t			# In ntpd/ntp_parser.tab.c
timercmp		# Only used in include/parse.h
_ALLOCA_H
__UNUSED__
_STRING_H		# In ntpd/ntp_parser.tab.c 
__BUILTIN_VA_ARG_INCR	# In ntpd/ntp_parser.tab.c 
__SIZE_TYPE__		# In ntpd/ntp_parser.tab.c 
EREALLOC_.*
INTPTR_MAX		# Unity
STRUCT_TIMEX_HAS_MODES
STRUCT_TIMEX_HAS_TIME_TICK

# Inaccessible port guards
SYS_CYGWIN32

# end
