The call-back should read the entire contents (header and data) of the binary table in the named extension of the external FITS file, storing the contents in a newly created FitsTable object. It should then store this FitsTable in the FitsChan using the AST_PUTTABLES or AST_PUTTABLE method, and finally annull its local copy of the FitsTable pointer. If the table cannot be read for any reason, or if any other error occurs, it should return a non-zero integer for the final (third) argument.
If TABSOURCE is AST_NULL, any registered call-back function will be removed.
AST A Library for Handling World Coordinate Systems in Astronomy