"thd" is available through the "table" argument, as table->in_use.
Attach a file by drag & drop or click to upload