/*
* The metadata socket object is handled differently and only created
* locally in this object thus it's the only reference available in the
/*
* The metadata socket object is handled differently and only created
* locally in this object thus it's the only reference available in the
- * session daemon. For that reason, a static variable for the fd is
- * required and the metadata socket fd points to it.
+ * session daemon. For that reason, a variable for the fd is required and
+ * the metadata socket fd points to it.
int consumer_copy_sockets(struct consumer_output *dst,
struct consumer_output *src);
void consumer_destroy_output_sockets(struct consumer_output *obj);
int consumer_copy_sockets(struct consumer_output *dst,
struct consumer_output *src);
void consumer_destroy_output_sockets(struct consumer_output *obj);
struct consumer_output *consumer_create_output(enum consumer_dst_type type);
struct consumer_output *consumer_copy_output(struct consumer_output *obj);
struct consumer_output *consumer_create_output(enum consumer_dst_type type);
struct consumer_output *consumer_copy_output(struct consumer_output *obj);
int overwrite,
unsigned int switch_timer_interval,
unsigned int read_timer_interval,
int overwrite,
unsigned int switch_timer_interval,
unsigned int read_timer_interval,
int consumer_is_data_pending(uint64_t session_id,
struct consumer_output *consumer);
int consumer_close_metadata(struct consumer_socket *socket,
int consumer_is_data_pending(uint64_t session_id,
struct consumer_output *consumer);
int consumer_close_metadata(struct consumer_socket *socket,