Change-Id: I138ad4f5b3f76006c88319a5c204d674de1d9cd9
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
int (*getsize)(struct fd_info *fdi, unsigned int *val);
/// Check whether there will be no more logs on this FD
- bool (*eof)(struct fd_info *fdi);
+ bool (*eof)(const struct fd_info *fdi);
// Whether to filter logs on the client
bool should_filter;
return 0;
}
-static bool logger_eof(struct fd_info *fdi)
+static bool logger_eof(const struct fd_info *fdi)
{
assert(fdi);
struct logger_priv_data *lpd = (struct logger_priv_data *)fdi->priv_data;
return (const dlogutil_entry_s *)(ppd->buff + ppd->offset);
}
-static bool pipe_eof(struct fd_info *fdi)
+static bool pipe_eof(const struct fd_info *fdi)
{
assert(fdi);
const struct pipe_priv_data *const ppd = (const struct pipe_priv_data *)fdi->priv_data;