polkitunixprocess.h | polkitunixprocess.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define POLKIT_UNIX_PROCESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), POLKIT_TYPE_UNIX_PROCESS, PolkitUnixProcessClass)) | #define POLKIT_UNIX_PROCESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), POLKIT_TYPE_UNIX_PROCESS, PolkitUnixProcessClass)) | |||
#define POLKIT_IS_UNIX_PROCESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), POLKIT_TYPE_UNIX_PROCESS)) | #define POLKIT_IS_UNIX_PROCESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), POLKIT_TYPE_UNIX_PROCESS)) | |||
#define POLKIT_IS_UNIX_PROCESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PO LKIT_TYPE_UNIX_PROCESS)) | #define POLKIT_IS_UNIX_PROCESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PO LKIT_TYPE_UNIX_PROCESS)) | |||
#if 0 | #if 0 | |||
typedef struct _PolkitUnixProcess PolkitUnixProcess; | typedef struct _PolkitUnixProcess PolkitUnixProcess; | |||
#endif | #endif | |||
typedef struct _PolkitUnixProcessClass PolkitUnixProcessClass; | typedef struct _PolkitUnixProcessClass PolkitUnixProcessClass; | |||
GType polkit_unix_process_get_type (void) G_GNUC_CONST; | GType polkit_unix_process_get_type (void) G_GNUC_CONST; | |||
PolkitSubject *polkit_unix_process_new (gint pid); | PolkitSubject *polkit_unix_process_new (gint pid) | |||
PolkitSubject *polkit_unix_process_new_full (gint pid, | ; | |||
guint64 start_time); | PolkitSubject *polkit_unix_process_new_full (gint pid, | |||
guint64 star | ||||
t_time); | ||||
PolkitSubject *polkit_unix_process_new_for_owner (gint pid, | ||||
guint64 star | ||||
t_time, | ||||
gint uid) | ||||
; | ||||
gint polkit_unix_process_get_pid (PolkitUnixProcess *proc ess); | gint polkit_unix_process_get_pid (PolkitUnixProcess *proc ess); | |||
guint64 polkit_unix_process_get_start_time (PolkitUnixProcess *proc ess); | guint64 polkit_unix_process_get_start_time (PolkitUnixProcess *proc ess); | |||
gint polkit_unix_process_get_uid (PolkitUnixProcess *proc ess); | ||||
void polkit_unix_process_set_pid (PolkitUnixProcess *proc ess, | void polkit_unix_process_set_pid (PolkitUnixProcess *proc ess, | |||
gint pid) ; | gint pid) ; | |||
void polkit_unix_process_set_uid (PolkitUnixProcess *proc | ||||
ess, | ||||
gint uid) | ||||
; | ||||
void polkit_unix_process_set_start_time (PolkitUnixProcess *proc | ||||
ess, | ||||
guint64 star | ||||
t_time); | ||||
gint polkit_unix_process_get_owner (PolkitUnixProcess *pro cess, | gint polkit_unix_process_get_owner (PolkitUnixProcess *pro cess, | |||
GError **err or); | GError **err or) G_GNUC_DEPRECATED_FOR (polkit_unix_process_get_uid); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __POLKIT_UNIX_PROCESS_H */ | #endif /* __POLKIT_UNIX_PROCESS_H */ | |||
End of changes. 4 change blocks. | ||||
5 lines changed or deleted | 21 lines changed or added | |||