db/DatabasePrint: support sorting by "modified-since"

Closes #172
This commit is contained in:
Max Kellermann
2017-12-18 21:36:47 +01:00
parent 7a55ab6acc
commit 5582367d68
5 changed files with 40 additions and 11 deletions

View File

@@ -38,6 +38,10 @@ db_selection_print(Response &r, Partition &partition,
const DatabaseSelection &selection,
bool full, bool base);
/**
* @param sort the sort tag; TAG_NUM_OF_ITEM_TYPES means don't sort;
* LOCATE_TAG_MODIFIED_SINCE means sort by file modification time
*/
void
db_selection_print(Response &r, Partition &partition,
const DatabaseSelection &selection,