* @see message_port_remove_registration_event_cb()
*/
typedef void (*message_port_registration_event_cb)(const char *remote_app_id,
- const char *remote_port,
- bool trusted_remote_port,
- void *user_data);
+ const char *remote_port,
+ bool trusted_remote_port,
+ void *user_data);
/**
* @see message_port_remove_registration_event_cb()
*/
EXPORT_API int message_port_add_registered_cb(const char *remote_app_id,
- const char *remote_port,
- bool trusted_remote_port,
- message_port_registration_event_cb registered_cb,
- void *user_data,
- int *watcher_id);
+ const char *remote_port,
+ bool trusted_remote_port,
+ message_port_registration_event_cb registered_cb,
+ void *user_data,
+ int *watcher_id);
/**
* @brief Adds a callback called when a remote port is unregistered.
* @see message_port_remove_registration_event_cb()
*/
EXPORT_API int message_port_add_unregistered_cb(const char *remote_app_id,
- const char *remote_port,
- bool trusted_remote_port,
- message_port_registration_event_cb unregistered_cb,
- void *user_data,
- int *watcher_id);
+ const char *remote_port,
+ bool trusted_remote_port,
+ message_port_registration_event_cb unregistered_cb,
+ void *user_data,
+ int *watcher_id);
/**