painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

Replace fixed length arrays with dynamic lists #59

Closed jennifer-richards closed 6 years ago

jennifer-richards commented 6 years ago

The main purpose of this pull request is to replace fixed-length arrays in TR_GSS_NAME and TR_FILTER with dynamic lists. This addresses #17.

Introduces a generic TR_LIST type, which is a wrapper around GLib's GPtrArray, with one extra level of indirection to better integrate it with talloc. This defines both the list and an iterator to work with it. Iterators for types containing TR_LISTs are implemented via macros, which avoids a lot of repeated code.

This should be ignored until jennifer/monitoring has been merged into milestone/monitoring!!

alejandro-perez commented 6 years ago

So..., can we close this?

jennifer-richards commented 6 years ago

It's "Merged," which is the pull request equivalent to "Closed and accepted"

alejandro-perez commented 6 years ago

Sorry, I commented on the wrong place! I meant closing the issue related to this one, #17