summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-05-18 22:29:25 +0200
committerBenBE <BenBE@geshi.org>2021-05-23 09:22:21 +0200
commit05fb681d5cc9535f12879d4b307808b5307861c1 (patch)
treecde2cc10fb946e93a84d5f3ef479b2f1ed45e3c4 /Process.h
parent7c654559c9615489da61803a626af7d3e9a05fa7 (diff)
Process: add convenience helper functions to update merged command line related data
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index 0b2f198d..dfd28135 100644
--- a/Process.h
+++ b/Process.h
@@ -373,6 +373,10 @@ int Process_compareByKey_Base(const Process* p1, const Process* p2, ProcessField
// Avoid direct calls, use Process_getCommand instead
const char *Process_getCommandStr(const Process *this);
+void Process_updateComm(Process* this, const char* comm);
+void Process_updateCmdline(Process* this, const char* cmdline, int basenameStart, int basenameEnd);
+void Process_updateExe(Process* this, const char* exe);
+
/* This function constructs the string that is displayed by
* Process_writeCommand and also returned by Process_getCommandStr */
void Process_makeCommandStr(Process *this);

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