Returns a pointer to the segment_t struct for the segment with name, *name. Will return NULL if there is no such segment. If there are multiple segments with the same name, the first will be returned.
Examples:
#include <segment.hpp>
// Get the segment_t structure for the .text segment.
segment_t *textSeg = get_segm_by_name(".text");
msg("Text segment is at %a\n", textSeg->startEA);