tor/src/or
Alexander Færøy 78a582ed88 Restructure log initilization function to allow multiple backends without arguments.
This patch ensures that we more easily can extend our log backends that
does not take any additional argument other than a single keyword. This
patch is mostly reindentation of some code which is why it is split out
into its own patch.

See: https://bugs.torproject.org/24362
2017-12-11 13:00:48 +00:00
..
addressmap.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
addressmap.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
bridges.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
bridges.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
channel.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
channel.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
channelpadding.c Merge branch 'bug22805_v2_squashed' 2017-09-22 08:58:17 -04:00
channelpadding.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
channeltls.c chan: Do not re-queue after a fail cell write 2017-12-08 14:43:27 -05:00
channeltls.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circpathbias.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circpathbias.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circuitbuild.c Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuitbuild.h Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuitlist.c Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuitlist.h Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuitmux_ewma.c Switch to offsetof() 2017-08-03 08:56:35 -04:00
circuitmux_ewma.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
circuitmux.c Update free functions into macros: src/or/ part 1 2017-12-08 14:47:19 -05:00
circuitmux.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
circuitstats.c Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuitstats.h Report close and timeout rates since uptime, not based on data. 2017-12-07 00:04:39 +00:00
circuituse.c Merge remote-tracking branch 'mikeperry/bug23114_squashed2' 2017-12-08 17:50:34 -05:00
circuituse.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
command.c Merge branch 'bug22805_v2_squashed' 2017-09-22 08:58:17 -04:00
command.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
config.c Restructure log initilization function to allow multiple backends without arguments. 2017-12-11 13:00:48 +00:00
config.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
confparse.c Update free functions into macros: src/or/ part 1 2017-12-08 14:47:19 -05:00
confparse.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
connection_edge.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
connection_edge.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
connection_or.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
connection_or.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
connection.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
connection.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
conscache.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
conscache.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
consdiff.c Request (and try to use) consensus diffs. 2017-05-04 08:37:41 -04:00
consdiff.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
consdiffmgr.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
consdiffmgr.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
control.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
control.h control: Don't use void pointer for ADD_ONION secret key 2017-12-05 19:39:46 -05:00
cpuworker.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
cpuworker.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dircollate.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
dircollate.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
directory.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
directory.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
dirserv.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
dirserv.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
dirvote.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
dirvote.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
dns_structs.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dns.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
dns.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
dnsserv.c Convert connection_free to a nulling macro. 2017-12-08 14:47:19 -05:00
dnsserv.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
entrynodes.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
entrynodes.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
ext_orport.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
ext_orport.h Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
fallback_dirs.inc Update fallback directory mirrors in May 2017 2017-05-16 19:02:42 +10:00
fp_pair.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
fp_pair.h Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
geoip.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
geoip.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
git_revision.c Move tor_git_revision into a new module. 2017-10-18 13:49:35 -04:00
git_revision.h re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
hibernate.c Merge branch 'bug23571_033_squashed' 2017-10-31 11:59:18 -04:00
hibernate.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_cache.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
hs_cache.h hs-v3: Add an encoded descriptor client cache lookup function 2017-11-20 11:02:30 -05:00
hs_cell.c prop224: Add a function to clear INTRO data 2017-08-24 13:03:28 -04:00
hs_cell.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_circuit.c Add error message for exit_node in hs_circ_send_introduce1() 2017-11-17 08:42:07 -05:00
hs_circuit.h re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
hs_circuitmap.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
hs_circuitmap.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_client.c hs-v3: Implement HS_DESC REQUESTED event 2017-12-05 19:39:46 -05:00
hs_client.h hs-v3: Attempt descriptor refetch when dirinfo changes 2017-10-31 12:14:11 -04:00
hs_common.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
hs_common.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
hs_config.c Stop users configuring IPv6-only v3 single onion services 2017-11-02 10:19:05 -04:00
hs_config.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_control.c Check the return value of hs_parse_address(). 2017-12-06 14:56:52 +01:00
hs_control.h hs-v3: Add an handler for the HSPOST command 2017-12-05 19:39:46 -05:00
hs_descriptor.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
hs_descriptor.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
hs_ident.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
hs_ident.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
hs_intropoint.c hs: Avoid possible double circuit close on error 2017-09-22 09:09:13 -04:00
hs_intropoint.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_ntor.c Explicit length checks in create_rend_cpath(). 2017-07-07 11:12:27 -04:00
hs_ntor.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
hs_service.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
hs_service.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
include.am hs-v3: Implement HS_DESC REQUESTED event 2017-12-05 19:39:46 -05:00
keypin.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
keypin.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
main.c Merge branch 'more_directories_squashed' 2017-12-05 19:49:45 -05:00
main.h Merge branch 'tor_api_squashed' 2017-11-01 13:22:16 -04:00
Makefile.nmake Netflow record collapsing defense. 2017-05-08 13:49:21 -04:00
microdesc.c Merge branch 'more_directories_squashed' 2017-12-05 19:49:45 -05:00
microdesc.h Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
networkstatus.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
networkstatus.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
nodelist.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
nodelist.h Make node_get_curve25519_onion_key() return a const ptr 2017-11-12 17:07:16 -05:00
ntmain.c Merge remote-tracking branch 'public/bug23081_025' into maint-0.2.9 2017-10-23 08:47:52 -04:00
ntmain.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
onion_fast.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
onion_fast.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
onion_ntor.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
onion_ntor.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
onion_tap.c Rename the hybrid_encrypt/decrypt functions; label them as dangerous 2017-07-24 14:34:53 -04:00
onion_tap.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
onion.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
onion.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
or.h Merge remote-tracking branch 'public/monotime_coarse_stamps' 2017-12-06 15:43:50 -05:00
parsecommon.c Fix warnings about passing uninitialized buffers into functions 2017-09-12 21:32:42 -04:00
parsecommon.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
periodic.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
periodic.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
policies.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
policies.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
proto_cell.c Add unit tests for var_cell and control0 proto functions. 2017-09-27 09:09:00 -04:00
proto_cell.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_control0.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_control0.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_ext_or.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_ext_or.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_http.c Refactor buffer APIs to put a buf_t first. 2017-09-05 13:57:51 -04:00
proto_http.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
proto_socks.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
proto_socks.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
protover_rust.c re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
protover.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
protover.h move a macro; fix a build? 2017-12-08 15:11:18 -05:00
reasons.c Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
reasons.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
relay.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
relay.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
rendcache.c Switch to a safer FREE_AND_NULL implementation 2017-12-08 14:47:19 -05:00
rendcache.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
rendclient.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
rendclient.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
rendcommon.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
rendcommon.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
rendmid.c rephist: Remove unused crypto_pk statistics. 2017-07-13 20:24:48 +00:00
rendmid.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
rendservice.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
rendservice.h Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
rephist.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
rephist.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
replaycache.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
replaycache.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
router.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
router.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
routerkeys.c New accessors for keydir/cachedir access 2017-12-05 19:49:28 -05:00
routerkeys.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
routerlist.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
routerlist.h Fix wide lines introduced by previous patch. 2017-12-08 14:47:19 -05:00
routerparse.c Merge branch 'ticket20895' 2017-11-09 09:17:53 -05:00
routerparse.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
routerset.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
routerset.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
scheduler_kist.c Merge branch 'macro_free_v2_squashed' 2017-12-08 14:58:43 -05:00
scheduler_vanilla.c sched: only log when scheduler type changes 2017-09-22 08:51:22 -04:00
scheduler.c Merge branch 'maint-0.3.2' 2017-11-17 09:59:26 -05:00
scheduler.h sched: Implement SCHED_BUG() 2017-10-03 14:43:09 -04:00
shared_random_state.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
shared_random_state.h Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
shared_random.c Convert remaining function (mostly static) to new free style 2017-12-08 14:47:19 -05:00
shared_random.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
statefile.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
statefile.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
status.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
status.h Run our #else/#endif annotator on our source code. 2017-09-15 16:24:44 -04:00
tor_api_internal.h re-run ./scripts/maint/annotate_ifdef_directives 2017-11-21 14:07:43 -05:00
tor_api.c Add a public tor_api.h with an implementation in tor_api.c 2017-11-01 13:22:09 -04:00
tor_api.h easy typos while reviewing commits 2017-11-01 16:44:09 -04:00
tor_main.c easy typos while reviewing commits 2017-11-01 16:44:09 -04:00
torcert.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
torcert.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00
transports.c Change the free macro convention in the rest of src/or/*.h 2017-12-08 14:47:19 -05:00
transports.h Replace all FREE_AND_NULL* uses to take a type and a free function. 2017-12-08 14:47:19 -05:00