-__attribute__((visibility("hidden")))
-ssize_t ustcomm_recv_unix_sock(int sock, void *buf, size_t len);
+ssize_t ustcomm_recv_unix_sock(int sock, void *buf, size_t len)
+ __attribute__((visibility("hidden")));
-__attribute__((visibility("hidden")))
-ssize_t ustcomm_send_unix_sock(int sock, const void *buf, size_t len);
+ssize_t ustcomm_send_unix_sock(int sock, const void *buf, size_t len)
+ __attribute__((visibility("hidden")));
-__attribute__((visibility("hidden")))
-ssize_t ustcomm_send_fds_unix_sock(int sock, int *fds, size_t nb_fd);
+ssize_t ustcomm_send_fds_unix_sock(int sock, int *fds, size_t nb_fd)
+ __attribute__((visibility("hidden")));
-__attribute__((visibility("hidden")))
-ssize_t ustcomm_recv_fds_unix_sock(int sock, int *fds, size_t nb_fd);
+ssize_t ustcomm_recv_fds_unix_sock(int sock, int *fds, size_t nb_fd)
+ __attribute__((visibility("hidden")));
-__attribute__((visibility("hidden")))
-int ustcomm_send_app_msg(int sock, struct ustcomm_ust_msg *lum);
+int ustcomm_send_app_msg(int sock, struct ustcomm_ust_msg *lum)
+ __attribute__((visibility("hidden")));
int ustcomm_send_app_cmd(int sock,
struct ustcomm_ust_msg *lum,
int ustcomm_send_app_cmd(int sock,
struct ustcomm_ust_msg *lum,
- void **chan_data, uint64_t len, int *wakeup_fd);
+ void **chan_data, uint64_t len, int *wakeup_fd)
+ __attribute__((visibility("hidden")));
int ustcomm_recv_stream_from_sessiond(int sock,
uint64_t *memory_map_size,
int ustcomm_recv_stream_from_sessiond(int sock,
uint64_t *memory_map_size,
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
int ustcomm_send_reg_msg(int sock,
enum ustctl_socket_type type,
uint32_t bits_per_long,
int ustcomm_send_reg_msg(int sock,
enum ustctl_socket_type type,
uint32_t bits_per_long,
uint32_t uint16_t_alignment,
uint32_t uint32_t_alignment,
uint32_t uint64_t_alignment,
uint32_t uint16_t_alignment,
uint32_t uint32_t_alignment,
uint32_t uint64_t_alignment,
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
int ustcomm_register_event(int sock,
struct lttng_ust_session *session,
int session_objd, /* session descriptor */
int ustcomm_register_event(int sock,
struct lttng_ust_session *session,
int session_objd, /* session descriptor */
size_t nr_fields, /* fields */
struct lttng_ust_event_field **fields,
const char *model_emf_uri,
size_t nr_fields, /* fields */
struct lttng_ust_event_field **fields,
const char *model_emf_uri,
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
int ustcomm_register_enum(int sock,
int session_objd, /* session descriptor */
const char *enum_name, /* enum name (input) */
size_t nr_entries, /* entries */
struct lttng_ust_enum_entry **entries,
int ustcomm_register_enum(int sock,
int session_objd, /* session descriptor */
const char *enum_name, /* enum name (input) */
size_t nr_entries, /* entries */
struct lttng_ust_enum_entry **entries,
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
/*
* Returns 0 on success, negative error value on error.
* Returns -EPIPE or -ECONNRESET if other end has hung up.
*/
int ustcomm_register_channel(int sock,
struct lttng_ust_session *session,
int session_objd, /* session descriptor */
int ustcomm_register_channel(int sock,
struct lttng_ust_session *session,
int session_objd, /* session descriptor */
size_t nr_ctx_fields,
struct lttng_ust_ctx_field **ctx_fields,
uint32_t *chan_id, /* channel id (output) */
size_t nr_ctx_fields,
struct lttng_ust_ctx_field **ctx_fields,
uint32_t *chan_id, /* channel id (output) */
-__attribute__((visibility("hidden")))
-int ustcomm_setsockopt_rcv_timeout(int sock, unsigned int msec);
+int ustcomm_setsockopt_rcv_timeout(int sock, unsigned int msec)
+ __attribute__((visibility("hidden")));
-__attribute__((visibility("hidden")))
-int ustcomm_setsockopt_snd_timeout(int sock, unsigned int msec);
+int ustcomm_setsockopt_snd_timeout(int sock, unsigned int msec)
+ __attribute__((visibility("hidden")));