-/* ************************** NetZones *************************** */
-sg_netzone_t MSG_zone_get_root()
-{
- return sg_zone_get_root();
-}
-const char* MSG_zone_get_name(sg_netzone_t zone)
-{
- return sg_zone_get_name(zone);
-}
-sg_netzone_t MSG_zone_get_by_name(const char* name)
-{
- return sg_zone_get_by_name(name);
+/** @brief Sets the user data of a process.
+ *
+ * This function checks whether @a process is a valid pointer and sets the user data associated to this process.
+ */
+msg_error_t MSG_process_set_data(msg_process_t process, void* data)
+{
+ xbt_assert(process != nullptr, "Invalid parameter: first parameter must not be nullptr!");
+ sg_actor_set_data(process, data);
+
+ return MSG_OK;