void skip_syslog_pid(char **buf);
void skip_syslog_date(char **buf);
-int have_effective_cap(int value);
-
bool hostname_is_valid(const char *s);
char* hostname_cleanup(char *s);
int hwclock_get_time(struct tm *tm);
int hwclock_set_time(const struct tm *tm);
-int audit_session_from_pid(pid_t pid, uint32_t *id);
-int audit_loginuid_from_pid(pid_t pid, uid_t *uid);
-
bool display_is_local(const char *display);
int socket_from_display(const char *display, char **path);
int prot_from_flags(int flags);
-unsigned long cap_last_cap(void);
-
char *format_bytes(char *buf, size_t l, off_t t);
int fd_wait_for_event(int fd, int event, usec_t timeout);
int fd_inc_sndbuf(int fd, size_t n);
int fd_inc_rcvbuf(int fd, size_t n);
-
#endif