X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/5fcd6a71923ce1de2e09447974ef39b6f0ca7dd0..598b07b7de7559ddcaed4063912f68bf951d6701:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 6e3a9a9..63c82c8 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -68,6 +68,7 @@ struct collectionlist { struct collection *s; }; +/** @brief A track name part */ struct namepart { char *part; /* part */ pcre *re; /* compiled regexp */ @@ -77,11 +78,13 @@ struct namepart { unsigned reflags; /* regexp flags */ }; +/** @brief A list of track name parts */ struct namepartlist { int n; struct namepart *s; }; +/** @brief A track name transform */ struct transform { char *type; /* track or dir */ char *context; /* sort or choose */ @@ -90,6 +93,7 @@ struct transform { unsigned flags; /* regexp flags */ }; +/** @brief A list of track name transforms */ struct transformlist { int n; struct transform *t;