- const char *norm_term, int freq);
-struct termlist_score **termlist_highscore(struct termlist *tl, int *len);
+ const char *norm_term,
+ const char *id, size_t id_len, int freq);
+struct termlist_score **termlist_highscore(struct termlist *tl, int *len,
+ NMEM nmem);