open62541 1.3.12
Open source implementation of OPC UA
|
Go to the source code of this file.
Macros | |
#define | UA_fileExists(X) ( UA_access(X, 0) == 0) |
Functions | |
_UA_BEGIN_DECLS int | UA_sleep_ms (unsigned int miliSeconds) |
ssize_t | UA_send (UA_SOCKET sockfd, const void *buf, size_t len, int flags) |
ssize_t | UA_sendto (UA_SOCKET sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen) |
int | UA_select (UA_SOCKET nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
ssize_t | UA_recv (UA_SOCKET sockfd, void *buf, size_t len, int flags) |
ssize_t | UA_recvfrom (UA_SOCKET sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen) |
ssize_t | UA_recvmsg (int sockfd, struct msghdr *msg, int flags) |
int | UA_shutdown (UA_SOCKET sockfd, int how) |
UA_SOCKET | UA_socket (int domain, int type, int protocol) |
int | UA_bind (UA_SOCKET sockfd, const struct sockaddr *addr, socklen_t addrlen) |
int | UA_listen (UA_SOCKET sockfd, int backlog) |
int | UA_accept (UA_SOCKET sockfd, struct sockaddr *addr, socklen_t *addrlen) |
int | UA_close (UA_SOCKET sockfd) |
int | UA_connect (UA_SOCKET sockfd, const struct sockaddr *addr, socklen_t addrlen) |
void | UA_fd_set (UA_SOCKET fd, fd_set *set) |
int | UA_fd_isset (UA_SOCKET fd, fd_set *set) |
int | UA_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) |
uint32_t | UA_htonl (uint32_t hostlong) |
uint32_t | UA_ntohl (uint32_t netlong) |
int | UA_inet_pton (int af, const char *src, void *dst) |
unsigned int | UA_socket_set_blocking (UA_SOCKET sockfd) |
unsigned int | UA_socket_set_nonblocking (UA_SOCKET sockfd) |
int | UA_ioctl (int fildes, int request,...) |
int | UA_getsockopt (int sockfd, int level, int optname, void *optval, socklen_t *optlen) |
int | UA_setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
void | UA_freeaddrinfo (struct addrinfo *res) |
int | UA_gethostname (char *name, size_t len) |
int | UA_getsockname (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
void | UA_initialize_architecture_network (void) |
void | UA_deinitialize_architecture_network (void) |
int | UA_snprintf (char *pa_stream, size_t pa_size, const char *pa_format,...) |
int | UA_strncasecmp (const char *s1, const char *s2, size_t n) |
int | UA_access (const char *pathname, int mode) |
#define UA_fileExists | ( | X | ) | ( UA_access(X, 0) == 0) |
Definition at line 163 of file architecture_functions.h.
_UA_BEGIN_DECLS int UA_sleep_ms | ( | unsigned int | miliSeconds | ) |
This work is licensed under a Creative Commons CCZero 1.0 Universal License.
See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
Copyright 2018 (c) Jose Cabral, fortiss GmbH Sleep function
ssize_t UA_send | ( | UA_SOCKET | sockfd, |
const void * | buf, | ||
size_t | len, | ||
int | flags ) |
Socket functions.
ssize_t UA_sendto | ( | UA_SOCKET | sockfd, |
const void * | buf, | ||
size_t | len, | ||
int | flags, | ||
const struct sockaddr * | dest_addr, | ||
socklen_t | addrlen ) |
int UA_select | ( | UA_SOCKET | nfds, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout ) |
ssize_t UA_recv | ( | UA_SOCKET | sockfd, |
void * | buf, | ||
size_t | len, | ||
int | flags ) |
ssize_t UA_recvfrom | ( | UA_SOCKET | sockfd, |
void * | buf, | ||
size_t | len, | ||
int | flags, | ||
struct sockaddr * | src_addr, | ||
socklen_t * | addrlen ) |
ssize_t UA_recvmsg | ( | int | sockfd, |
struct msghdr * | msg, | ||
int | flags ) |
int UA_shutdown | ( | UA_SOCKET | sockfd, |
int | how ) |
UA_SOCKET UA_socket | ( | int | domain, |
int | type, | ||
int | protocol ) |
int UA_bind | ( | UA_SOCKET | sockfd, |
const struct sockaddr * | addr, | ||
socklen_t | addrlen ) |
int UA_listen | ( | UA_SOCKET | sockfd, |
int | backlog ) |
int UA_accept | ( | UA_SOCKET | sockfd, |
struct sockaddr * | addr, | ||
socklen_t * | addrlen ) |
int UA_close | ( | UA_SOCKET | sockfd | ) |
int UA_connect | ( | UA_SOCKET | sockfd, |
const struct sockaddr * | addr, | ||
socklen_t | addrlen ) |
void UA_fd_set | ( | UA_SOCKET | fd, |
fd_set * | set ) |
int UA_fd_isset | ( | UA_SOCKET | fd, |
fd_set * | set ) |
int UA_getaddrinfo | ( | const char * | node, |
const char * | service, | ||
const struct addrinfo * | hints, | ||
struct addrinfo ** | res ) |
uint32_t UA_htonl | ( | uint32_t | hostlong | ) |
uint32_t UA_ntohl | ( | uint32_t | netlong | ) |
int UA_inet_pton | ( | int | af, |
const char * | src, | ||
void * | dst ) |
unsigned int UA_socket_set_blocking | ( | UA_SOCKET | sockfd | ) |
unsigned int UA_socket_set_nonblocking | ( | UA_SOCKET | sockfd | ) |
int UA_ioctl | ( | int | fildes, |
int | request, | ||
... ) |
int UA_getsockopt | ( | int | sockfd, |
int | level, | ||
int | optname, | ||
void * | optval, | ||
socklen_t * | optlen ) |
int UA_setsockopt | ( | int | sockfd, |
int | level, | ||
int | optname, | ||
const void * | optval, | ||
socklen_t | optlen ) |
void UA_freeaddrinfo | ( | struct addrinfo * | res | ) |
int UA_gethostname | ( | char * | name, |
size_t | len ) |
int UA_getsockname | ( | int | sockfd, |
struct sockaddr * | addr, | ||
socklen_t * | addrlen ) |
void UA_initialize_architecture_network | ( | void | ) |
void UA_deinitialize_architecture_network | ( | void | ) |
int UA_snprintf | ( | char * | pa_stream, |
size_t | pa_size, | ||
const char * | pa_format, | ||
... ) |
Print function.
int UA_strncasecmp | ( | const char * | s1, |
const char * | s2, | ||
size_t | n ) |
int UA_access | ( | const char * | pathname, |
int | mode ) |
Access to file function.