#include "socket-util.h"
#include "sd-daemon.h"
+/// UNNEEDED by elogind
+#if 0
_public_ int sd_listen_fds(int unset_environment) {
const char *e;
unsigned n;
return 1;
}
+#endif // 0
static int sd_is_socket_internal(int fd, int type, int listening) {
struct stat st_fd;
return 1;
}
+/// UNNEEDED by elogind
+#if 0
_public_ int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) {
union sockaddr_union sockaddr = {};
socklen_t l = sizeof(sockaddr);
return 1;
}
-/// UNNEEDED by elogind
-#if 0
_public_ int sd_is_mq(int fd, const char *path) {
struct mq_attr attr;
return sd_pid_notify_with_fds(0, unset_environment, state, NULL, 0);
}
+/// UNNEEDED by elogind
+#if 0
_public_ int sd_pid_notifyf(pid_t pid, int unset_environment, const char *format, ...) {
_cleanup_free_ char *p = NULL;
int r;
return !!S_ISDIR(st.st_mode);
}
+#endif // 0
_public_ int sd_watchdog_enabled(int unset_environment, uint64_t *usec) {
const char *s, *p = ""; /* p is set to dummy value to do unsetting */