@spiceErrorCheck<EOL>@spiceFoundExceptionThrower<EOL>def gnpool(name, start, room, lenout=_default_len_out):
name = stypes.stringToCharP(name)<EOL>start = ctypes.c_int(start)<EOL>kvars = stypes.emptyCharArray(yLen=room, xLen=lenout)<EOL>room = ctypes.c_int(room)<EOL>lenout = ctypes.c_int(lenout)<EOL>n = ctypes.c_int()<EOL>found = ctypes.c_int()<EOL>libspice.gnpool_c(name, start, room, lenout, ctypes.byref(n), kvars,<EOL>ctypes.byref(found))<EOL>return stypes.cVectorToPython(kvars)[<NUM_LIT:0>:n.value], bool(found.value)<EOL>
Return names of kernel variables matching a specified template.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/gnpool_c.html

:param name: Template that names should match.
:type name: str
:param start: Index of first matching name to retrieve.
:type start: int
:param room: The largest number of values to return.
:type room: int
:param lenout: Length of strings in output array kvars.
:type lenout: int
:return: Kernel pool variables whose names match name.
:rtype: list of str