core: return parent pid from nm_utils_get_start_time_for_pid()

This commit is contained in:
Thomas Haller
2015-06-30 14:51:42 +02:00
parent a396ad2ac1
commit 7c9eefa767
4 changed files with 13 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ str_if_set (const char *str, const char *fallback)
return str ? str : fallback;
}
guint64 nm_utils_get_start_time_for_pid (pid_t pid, char *out_state);
guint64 nm_utils_get_start_time_for_pid (pid_t pid, char *out_state, pid_t *out_ppid);
void nm_utils_kill_process_sync (pid_t pid, guint64 start_time, int sig, guint64 log_domain,
const char *log_name, guint32 wait_before_kill_msec,