Move to kernel style SPDX license identifiers
[lttng-ust.git] / include / share.h
index 19644f120c0b194b79224088da9f69389986c9fc..28a4a056c72728df6dd8ce262af3d283f8269224 100644 (file)
@@ -1,22 +1,22 @@
-#ifndef _LTTNG_SHARE_H
-#define _LTTNG_SHARE_H
-
 /*
- * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+ * SPDX-License-Identifier: MIT
  *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
+ * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
+#ifndef _LTTNG_SHARE_H
+#define _LTTNG_SHARE_H
+
 #include <stdlib.h>
+#include <sys/uio.h>
+
+#include "helper.h"
 
+/* Should be hidden but would break the ABI */
 ssize_t patient_write(int fd, const void *buf, size_t count);
+LTTNG_HIDDEN
+ssize_t patient_writev(int fd, struct iovec *iov, int iovcnt);
+/* Should be hidden but would break the ABI */
 ssize_t patient_send(int fd, const void *buf, size_t count, int flags);
 
 #endif /* _LTTNG_SHARE_H */
This page took 0.023661 seconds and 4 git commands to generate.