-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathlibsystemd.vapi
More file actions
18 lines (13 loc) · 735 Bytes
/
libsystemd.vapi
File metadata and controls
18 lines (13 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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);
}