13#ifndef PLUGINS_ARCH_UA_ARCHITECTURE_FUNCTIONS_H_
14#define PLUGINS_ARCH_UA_ARCHITECTURE_FUNCTIONS_H_
31ssize_t
UA_sendto(
UA_SOCKET sockfd,
const void *buf,
size_t len,
int flags,
const struct sockaddr *dest_addr, socklen_t addrlen);
35int UA_select(
UA_SOCKET nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
struct timeval *timeout);
43ssize_t
UA_recvfrom(
UA_SOCKET sockfd,
void *buf,
size_t len,
int flags,
struct sockaddr *src_addr, socklen_t *addrlen);
87int UA_getaddrinfo(
const char *node,
const char *service,
const struct addrinfo *hints,
struct addrinfo **res);
103# ifndef UA_if_nametoindex
104unsigned int UA_if_nametoindex(
const char *ifname);
108#ifndef UA_socket_set_blocking
112#ifndef UA_socket_set_nonblocking
121int UA_getsockopt(
int sockfd,
int level,
int optname,
void *optval, socklen_t *optlen);
125int UA_setsockopt(
int sockfd,
int level,
int optname,
const void *optval, socklen_t optlen);
128#ifndef UA_freeaddrinfo
132#ifndef UA_gethostname
136#ifndef UA_getsockname
140#ifndef UA_initialize_architecture_network
144#ifndef UA_deinitialize_architecture_network
150int UA_snprintf(
char* pa_stream,
size_t pa_size,
const char* pa_format, ...);
153#ifndef UA_strncasecmp
163#define UA_fileExists(X) ( UA_access(X, 0) == 0)
unsigned int UA_socket_set_nonblocking(UA_SOCKET sockfd)
ssize_t UA_recvmsg(int sockfd, struct msghdr *msg, int flags)
unsigned int UA_socket_set_blocking(UA_SOCKET sockfd)
void UA_initialize_architecture_network(void)
int UA_strncasecmp(const char *s1, const char *s2, size_t n)
int UA_access(const char *pathname, int mode)
Access to file function.
void UA_deinitialize_architecture_network(void)
int UA_ioctl(int fildes, int request,...)
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
static UA_LogCategory const char * msg
#define UA_sleep_ms(X)
This work is licensed under a Creative Commons CCZero 1.0 Universal License.
#define UA_fd_set(fd, fds)
#define UA_fd_isset(fd, fds)
#define UA_inet_pton(af, src, dst)