| polkit Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
PolkitSmackProcess; char * polkit_smack_process_get_label (PolkitSmackProcess *process); void polkit_smack_process_set_label (PolkitSmackProcess *process,const gchar *label);
An object for representing a UNIX process.
To uniquely identify processes, both the process id and the start time of the process (a monotonic increasing value representing the time since the kernel was started) is used.
char * polkit_smack_process_get_label (PolkitSmackProcess *process);
Gets the label for process.
|
A PolkitSmackProcess. |
Returns : |
The label for process or NULL if unknown. The returned
string is the caller's responsibility to free. |
void polkit_smack_process_set_label (PolkitSmackProcess *process,const gchar *label);
Sets the label for process
|
A PolkitSmackProcess |
|
The label to set for the process or NULL to unset it. |