public:
enum class Type { Host, Router, NetZone };
- NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* netzone_p);
+ NetPoint(std::string name, NetPoint::Type component_type, NetZoneImpl* netzone_p);
~NetPoint() = default;
// Our rank in the vertices_ array of the netzone that contains us.
} // namespace kernel
} // namespace simgrid
-XBT_PUBLIC sg_netpoint_t sg_netpoint_by_name_or_null(const char* name);
+XBT_PUBLIC simgrid::kernel::routing::NetPoint* sg_netpoint_by_name_or_null(const char* name);
#endif /* KERNEL_ROUTING_NETPOINT_HPP_ */