Each packet table keeps an index of the "current" packet so that get_next can iterate through the packets in order. H5PTcreate_index initializes a packet table's index, and should be called before using get_next. The index must be initialized every time a packet table is created or opened; this information is lost when the packet table is closed. |