Get pointer to segment by its name.
If there are several segments with the same name, returns the first of them.
\param name segment name. may be nullptr.
\return nullptr or pointer to segment structure
Get number of segments
Get pointer to segment by its number.
\warning Obsoleted because it can slow down the debugger (it has to refresh the whole
memory segmentation to calculate the correct answer)
\param n segment number in the range (0..get_segm_qty()-1)
\returns nullptr or pointer to segment structure
Get pointer to segment by linear address.
\param ea linear address belonging to the segment
\return nullptr or pointer to segment structure