| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _LTTNG_SHARE_H |
| 8 | #define _LTTNG_SHARE_H |
| 9 | |
| 10 | #include <stdlib.h> |
| 11 | #include <sys/uio.h> |
| 12 | |
| 13 | #include "ust-helper.h" |
| 14 | |
| 15 | LTTNG_HIDDEN |
| 16 | ssize_t ust_patient_write(int fd, const void *buf, size_t count); |
| 17 | LTTNG_HIDDEN |
| 18 | ssize_t ust_patient_writev(int fd, struct iovec *iov, int iovcnt); |
| 19 | LTTNG_HIDDEN |
| 20 | ssize_t ust_patient_send(int fd, const void *buf, size_t count, int flags); |
| 21 | |
| 22 | #endif /* _LTTNG_SHARE_H */ |