X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Finet6.hpp;h=674751e552e3ce2890fa591b319547d2bb70a333;hb=HEAD;hp=d6122fdfae0363558904ad7946ec13259bc78a74;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/sessiond-comm/inet6.hpp b/src/common/sessiond-comm/inet6.hpp index d6122fdfa..674751e55 100644 --- a/src/common/sessiond-comm/inet6.hpp +++ b/src/common/sessiond-comm/inet6.hpp @@ -8,27 +8,26 @@ #ifndef _LTTCOMM_INET6_H #define _LTTCOMM_INET6_H -#include - #include "sessiond-comm.hpp" +#include +#include + /* Stub */ struct lttcomm_sock; /* Net family callback */ -extern int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type, - int proto); +extern int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type, int proto); -extern struct lttcomm_sock *lttcomm_accept_inet6_sock( - struct lttcomm_sock *sock); +extern struct lttcomm_sock *lttcomm_accept_inet6_sock(struct lttcomm_sock *sock); extern int lttcomm_bind_inet6_sock(struct lttcomm_sock *sock); extern int lttcomm_close_inet6_sock(struct lttcomm_sock *sock); extern int lttcomm_connect_inet6_sock(struct lttcomm_sock *sock); extern int lttcomm_listen_inet6_sock(struct lttcomm_sock *sock, int backlog); -extern ssize_t lttcomm_recvmsg_inet6_sock(struct lttcomm_sock *sock, void *buf, - size_t len, int flags); -extern ssize_t lttcomm_sendmsg_inet6_sock(struct lttcomm_sock *sock, - const void *buf, size_t len, int flags); +extern ssize_t +lttcomm_recvmsg_inet6_sock(struct lttcomm_sock *sock, void *buf, size_t len, int flags); +extern ssize_t +lttcomm_sendmsg_inet6_sock(struct lttcomm_sock *sock, const void *buf, size_t len, int flags); -#endif /* _LTTCOMM_INET6_H */ +#endif /* _LTTCOMM_INET6_H */