summaryrefslogtreecommitdiffstats
path: root/pcp/PCPDynamicColumn.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-09-03 12:11:31 +1000
committerBenBE <BenBE@geshi.org>2021-09-03 09:47:01 +0200
commitc0c2bb98a23b649c55e5d8a55395073fdaa8d6fa (patch)
tree5d568468338201447d1396843e761d33c6729b37 /pcp/PCPDynamicColumn.h
parent9b30870eeca0e2fd29602451205834d753ed5905 (diff)
Add completion handling for dynamic meters and columns
Be sure to free dynamic memory allocated for meters and columns strings, no-op on platforms other than pcp. Closes #774
Diffstat (limited to 'pcp/PCPDynamicColumn.h')
-rw-r--r--pcp/PCPDynamicColumn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcp/PCPDynamicColumn.h b/pcp/PCPDynamicColumn.h
index 28f3d5ca..d0ffe719 100644
--- a/pcp/PCPDynamicColumn.h
+++ b/pcp/PCPDynamicColumn.h
@@ -26,6 +26,8 @@ typedef struct PCPDynamicColumns_ {
void PCPDynamicColumns_init(PCPDynamicColumns* columns);
+void PCPDynamicColumns_done(Hashtable* table);
+
void PCPDynamicColumn_writeField(PCPDynamicColumn* this, const Process* proc, RichString* str);
int PCPDynamicColumn_compareByKey(const PCPProcess* p1, const PCPProcess* p2, ProcessField key);

© 2014-2024 Faster IT GmbH | imprint | privacy policy