sd_is_socket_inet;
sd_is_socket_unix;
sd_is_special;
- /* sd_listen_fds; */
+ sd_listen_fds;
sd_notify;
sd_notifyf;
sd_watchdog_enabled;
sd_bus_default_flush_close;
sd_bus_path_decode_many;
sd_bus_path_encode_many;
- /* sd_listen_fds_with_names; */
+ sd_listen_fds_with_names;
} LIBSYSTEMD_226;
/*
#define SNDBUF_SIZE (8*1024*1024)
-#if 0 /// UNNEEDED by elogind
static void unsetenv_all(bool unset_environment) {
if (!unset_environment)
return n_fds;
}
-#endif // 0
_public_ int sd_is_fifo(int fd, const char *path) {
struct stat st_fd;
/* The first passed file descriptor is fd 3 */
#define SD_LISTEN_FDS_START 3
-#if 0 /// unsupported by elogind
/*
Returns how many file descriptors have been passed, or a negative
errno code on failure. Optionally, removes the $LISTEN_FDS and
int sd_listen_fds(int unset_environment);
int sd_listen_fds_with_names(int unset_environment, char ***names);
-#endif // 0
/*
Helper call for identifying a passed file descriptor. Returns 1 if