scanposts(), and listsub(). These functions are exposed in the JS 'bbs' object as scan_subs(), scan_msgs(), and list_msgs().