/* * Copyright (C) by Argonne National Laboratory * See COPYRIGHT in top-level directory */ #ifndef MPL_SOCK_H_INCLUDED #define MPL_SOCK_H_INCLUDED #include "mplconfig.h" #include #include #include #include #include #include #include #ifdef MPL_HAVE_SYS_TYPES_H #include /* macs need sys/types.h before uio.h can be included */ #endif #ifdef MPL_HAVE_SYS_UIO_H #include #endif #if !defined(MPL_HAVE_SYS_UIO_H) struct iovec; #endif /* *INDENT-ON* */ #if defined(__cplusplus) extern "C" { #endif /* *INDENT-OFF* */ ssize_t MPL_large_writev(int fd, const struct iovec *iov, int iovcnt); ssize_t MPL_large_readv(int fd, const struct iovec *iov, int iovcnt); int MPL_host_is_local(const char *host); /* *INDENT-ON* */ #if defined(__cplusplus) } #endif /* *INDENT-OFF* */ #endif /* MPL_SOCK_H_INCLUDED */