X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fshare.h;fp=include%2Fshare.h;h=19644f120c0b194b79224088da9f69389986c9fc;hb=2f864739715ce0d04a2d9a6ad78e9b84d1ce90d3;hp=0000000000000000000000000000000000000000;hpb=44c72f10aa3cace72ffe40a0f9bb7aadb9c82dc8;p=lttng-ust.git diff --git a/include/share.h b/include/share.h new file mode 100644 index 00000000..19644f12 --- /dev/null +++ b/include/share.h @@ -0,0 +1,22 @@ +#ifndef _LTTNG_SHARE_H +#define _LTTNG_SHARE_H + +/* + * Copyright (c) 2011 - Mathieu Desnoyers + * + * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + * + * 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. + */ + +#include + +ssize_t patient_write(int fd, const void *buf, size_t count); +ssize_t patient_send(int fd, const void *buf, size_t count, int flags); + +#endif /* _LTTNG_SHARE_H */