build: refactor pmda.h to expose pmdaroot internals separately
commitaa28068afe62bda06fea053160360c9aebca923c
authorNathan Scott <nathans@redhat.com>
Tue, 8 Dec 2015 05:24:04 +0000 (8 16:24 +1100)
committerNathan Scott <nathans@redhat.com>
Tue, 8 Dec 2015 05:24:04 +0000 (8 16:24 +1100)
tree269f8399b707befc534f63d873872bd21f173abd
parent1b76e21f3a78ed156b75c30266ce0898c09155c5
build: refactor pmda.h to expose pmdaroot internals separately

Some code refactoring to prepare the way for the next round of
pmdaroot changes (starting PMDAs on behalf of PMCD).  Its become
clear that increasingly large amounts of detailed internal info
(root PDU macros, structures, functions) that do not need to be
visible to most PMDAs should be handled via a separate pmdaroot
header.  This is arguably an API/ABI break, but being realistic
noone is ever going to be affected (and pmdaroot.h is available
still anyway).
debian/libpcp-pmda3-dev.install
src/include/pcp/GNUmakefile
src/include/pcp/pmda.h
src/include/pcp/pmdaroot.h [new file with mode: 0644]
src/libpcp_pmda/src/pduroot.c
src/libpcp_pmda/src/pduroot.h [deleted file]
src/libpcp_pmda/src/root.c
src/pmdas/linux/namespaces.c
src/pmdas/root/root.c