diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-05-18 22:29:25 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | 05fb681d5cc9535f12879d4b307808b5307861c1 (patch) | |
tree | cde2cc10fb946e93a84d5f3ef479b2f1ed45e3c4 /Process.h | |
parent | 7c654559c9615489da61803a626af7d3e9a05fa7 (diff) |
Process: add convenience helper functions to update merged command line related data
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |