@@ -48,7 +48,7 @@ extern const struct Nif dist_ctrl_put_data_nif;
4848struct DistConnection ;
4949
5050/**
51- * @doc Enqueue a message to be sent to a remote process.
51+ * @brief Enqueue a message to be sent to a remote process.
5252 * This function may raise a badarg error following OTP if target is incorrect.
5353 * @param target external pid or a tuple {atom(), node()} to refer to a remote
5454 * registered process
@@ -60,8 +60,7 @@ struct DistConnection;
6060term dist_send_message (term target , term payload , Context * ctx );
6161
6262/**
63- * @doc Setup a monitor on a local process for a distributed process.
64- * @end
63+ * @brief Setup a monitor on a local process for a distributed process.
6564 * @param conn_obj object of the connection
6665 * @param from_pid remote pid setting up the monitor
6766 * @param target_proc atom (for registered process) or pid of the local
@@ -72,28 +71,27 @@ term dist_send_message(term target, term payload, Context *ctx);
7271term dist_monitor (struct DistConnection * conn_obj , term from_pid , term target_proc , term monitor_ref , Context * ctx );
7372
7473/**
75- * @doc Send a spawn reply signal to a node
76- * @end
77- * @param conn_obj object of the connection
74+ * @brief Send a spawn reply signal to a node
7875 * @param req_id reference identifying the request
7976 * @param to_pid (remote) process id identifying the caller
8077 * @param link if a link was created
8178 * @param monitor if a monitor was created
8279 * @param result pid of the spawned process or atom for an error
83- * @param ctx context for memory allocation
80+ * @param connection object of the connection
81+ * @param global context for memory allocation
8482 */
8583void dist_spawn_reply (term req_id , term to_pid , bool link , bool monitor , term result , struct DistConnection * connection , GlobalContext * global );
8684
8785/**
88- * @doc Send a link exit signal (PAYLOAD_EXIT)
86+ * @brief Send a link exit signal (PAYLOAD_EXIT)
8987 * @param monitor structure with node, process_id, serial and creation
9088 * @param reason reason to send as the payload
9189 * @param ctx process that is exiting.
9290 */
9391void dist_send_payload_exit (struct LinkRemoteMonitor * monitor , term reason , Context * ctx );
9492
9593/**
96- * @doc Send a link signal (LINK)
94+ * @brief Send a link signal (LINK)
9795 * @param from_pid the pid linking to
9896 * @param to_pid the (remote) pid to link to
9997 * @param ctx context for memory allocation
@@ -103,7 +101,7 @@ void dist_send_payload_exit(struct LinkRemoteMonitor *monitor, term reason, Cont
103101term dist_send_link (term from_pid , term to_pid , Context * ctx );
104102
105103/**
106- * @doc Send an unlink id signal (UNLINK_ID), silently do nothing if node is
104+ * @brief Send an unlink id signal (UNLINK_ID), silently do nothing if node is
107105 * not connected
108106 * @param unlink_id unique id of the unlink operation
109107 * @param from_pid the pid linking to
@@ -113,7 +111,7 @@ term dist_send_link(term from_pid, term to_pid, Context *ctx);
113111void dist_send_unlink_id (uint64_t unlink_id , term from_pid , term to_pid , Context * ctx );
114112
115113/**
116- * @doc Send an unlink id ack signal (UNLINK_ID_ACK), silently do nothing if node is
114+ * @brief Send an unlink id ack signal (UNLINK_ID_ACK), silently do nothing if node is
117115 * not connected
118116 * @param unlink_id unique id of the unlink operation
119117 * @param from_pid the pid linking to
0 commit comments