SPI_cursor_find(name)
Name of portal
Pointer to Portal with given name, or NULL if not found
SPI_cursor_find finds a pre-existing Portal by name. This is primarily useful to resolve a cursor name returned as text by some other function.