modargs: Add a mechanism to append modargs
authorArun Raghavan <git@arunraghavan.net>
Tue, 3 May 2016 12:56:51 +0000 (18:26 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 22 Jun 2016 15:34:47 +0000 (21:04 +0530)
commit06fbdcaa3ecdd733b52e66976ec39893d1e53fe0
treeefaad2f7a8804b8330944f89342bbc51a83d40b3
parentb793f68f2edf2a4836ea907a0c058997d41ee67a
modargs: Add a mechanism to append modargs

This allows us to parse an extra set of modargs to tack on to an
existing set. Duplicates in the second set are ignored, since this fits
our use best. In the future, this could be extended to support different
merge modes (ignore dupes vs. replace with dupes), but I've left this
out since there isn't a clear need and it would be dead code for now.
src/pulsecore/modargs.c
src/pulsecore/modargs.h