Resolve circular header dependencies.
authorJennifer Richards <jennifer@painless-security.com>
Mon, 23 May 2016 21:54:03 +0000 (17:54 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Mon, 23 May 2016 22:11:43 +0000 (18:11 -0400)
commit7a7f4079644a03d967616134db12b271390b75f7
tree832bfbc781e052cdf9626073e712efd994c79308
parent97ba9c688ec652adf53d8ffe1a5c2dbf230bf5c4
Resolve circular header dependencies.

The use of TR_INSTANCE throughout various modules created a situation
where circular header file inclusion was occurring. Resolve this by
moving responsibility for picking out appropriate members from the
active configuration to the caller and passing only the directly
data into various functions. Also cleaned up some allocation code
to better make use of talloc.
common/tr_comm.c
common/tr_config.c
common/tr_idp.c
common/tr_rp.c
include/tr.h
include/tr_comm.h
include/tr_config.h
include/tr_idp.h
include/tr_rp.h
tr/tr_main.c