X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=liblttkconsumerd%2Fliblttkconsumerd.h;h=73cd29e27674bd8029e0348965d75c09790fb946;hp=83c769acf88c1633deb182190c60b7a15046a442;hb=00df03c6816678530f8a32281ea3ecffd2cc1ce4;hpb=3dcd27214e19ba1175a7ac4057d3ce2c7b99c599 diff --git a/liblttkconsumerd/liblttkconsumerd.h b/liblttkconsumerd/liblttkconsumerd.h index 83c769acf..73cd29e27 100644 --- a/liblttkconsumerd/liblttkconsumerd.h +++ b/liblttkconsumerd/liblttkconsumerd.h @@ -3,8 +3,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -57,8 +57,9 @@ struct kconsumerd_fd { unsigned long max_sb_size; /* the subbuffer size for this channel */ }; -int kconsumerd_create_poll_pipe(); +int kconsumerd_init(void); int kconsumerd_send_error(enum lttcomm_return_code cmd); +int kconsumerd_poll_socket(struct pollfd *kconsumerd_sockpoll); void *kconsumerd_thread_poll_fds(void *data); void *kconsumerd_thread_receive_fds(void *data); void kconsumerd_should_exit(void);