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!!
The main purpose of this pull request is to replace fixed-length arrays in
TR_GSS_NAME
andTR_FILTER
with dynamic lists. This addresses #17.Introduces a generic
TR_LIST
type, which is a wrapper around GLib'sGPtrArray
, 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!!