mirror of
https://github.com/elementary/gala.git
synced 2024-12-22 08:41:30 +03:00
19 lines
735 B
Vala
19 lines
735 B
Vala
[CCode (cheader_filename = "systemd/sd-daemon.h")]
|
|
namespace Systemd.Daemon {
|
|
[CCode (cname="sd_notify")]
|
|
int notify([CCode (type="int")]bool unset_environment, string state);
|
|
|
|
[CCode (cname="sd_notifyf")]
|
|
int notifyf([CCode (type="int")]bool unset_environment, string format, ...);
|
|
|
|
[CCode (cname="sd_pid_notify")]
|
|
int pid_notify(Posix.pid_t pid, [CCode (type="int")]bool unset_environment, string state);
|
|
|
|
[CCode (cname="sd_pid_notifyf")]
|
|
int pid_notifyf(Posix.pid_t pid, [CCode (type="int")]bool unset_environment, string format, ...);
|
|
|
|
[CCode (cname="sd_pid_notify_with_fds")]
|
|
int pid_notify_with_fds(Posix.pid_t pid, [CCode (type="int")]bool unset_environment, string state, int[] fds);
|
|
}
|
|
|