tor/src/common
Nick Mathewson a3e0a87d95 Completely refactor how FILENAME_PRIVATE works
We previously used FILENAME_PRIVATE identifiers mostly for
identifiers exposed only to the unit tests... but also for
identifiers exposed to the benchmarker, and sometimes for
identifiers exposed to a similar module, and occasionally for no
really good reason at all.

Now, we use FILENAME_PRIVATE identifiers for identifiers shared by
Tor and the unit tests.  They should be defined static when we
aren't building the unit test, and globally visible otherwise. (The
STATIC macro will keep us honest here.)

For identifiers used only by the unit tests and never by Tor at all,
on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS.

This is not the motivating use case for the split test/non-test
build system; it's just a test example to see how it works, and to
take a chance to clean up the code a little.
2013-07-10 15:20:10 -04:00
..
address.c Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 2013-03-18 15:28:39 -04:00
address.h Remove the unused addr_mask_cmp_bits 2013-03-01 14:46:34 -05:00
aes.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
aes.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
ciphers.inc Change our ciphersuite list to match ff8 2012-05-15 15:25:54 -04:00
compat_libevent.c Rename log() to tor_log() for logging 2013-02-01 15:43:37 -05:00
compat_libevent.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
compat.c Define SEEK_SET for platforms that lack it. 2013-06-13 21:56:35 -04:00
compat.h Instead of testing for __GNUC__, use CHECK_SCANF, like CHECK_PRINTF. 2013-06-14 10:52:00 -04:00
container.c Tweak #6752 patch based on comments by nickm. 2013-05-24 10:28:31 +02:00
container.h Lower dir fetch retry schedules in testing networks. 2013-05-16 12:08:48 +02:00
crypto_curve25519.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
crypto_curve25519.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
crypto_format.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
crypto.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
crypto.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
di_ops.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
di_ops.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
get_mozilla_ciphers.py Change our ciphersuite list to match ff8 2012-05-15 15:25:54 -04:00
include.am Start work on fancy compiler tricks to expose extra stuff to our tests 2013-07-10 15:20:09 -04:00
log.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
Makefile.nmake Add ntor-related modules to the Makefiles.nmake 2013-01-17 15:53:36 -05:00
memarea.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
memarea.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
mempool.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
mempool.h Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 2013-06-18 10:23:03 -04:00
procmon.c Rename log() to tor_log() for logging 2013-02-01 15:43:37 -05:00
procmon.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
testsupport.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
torgzip.c Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
torgzip.h Update the copyright date to 201. 2013-01-16 01:54:56 -05:00
torint.h Merge branch '024_msvc_squashed' 2013-01-16 22:32:12 -05:00
torlog.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
tortls.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
tortls.h Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / tor_tls_evp_pkey_eq 2013-06-12 13:02:06 -04:00
util_codedigest.c Resolve about 24 DOCDOCs 2012-06-05 00:17:54 -04:00
util.c Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00
util.h Completely refactor how FILENAME_PRIVATE works 2013-07-10 15:20:10 -04:00