X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/fdbb860d0642a19c29665fadab6b1a1d6229d946..05b75f8d50b83e943af3be4071449304d82dbdcd:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index bf3a493..51dc835 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -25,11 +25,11 @@ #ifndef CONFIGURATION_H #define CONFIGURATION_H +#include + #include "speaker-protocol.h" #include "rights.h" -struct real_pcre; - /* Configuration is kept in a @struct config@; the live configuration * is always pointed to by @config@. Values in @config@ are UTF-8 encoded. */ @@ -70,7 +70,7 @@ struct collectionlist { struct namepart { char *part; /* part */ - struct real_pcre *re; /* regexp */ + pcre *re; /* regexp */ char *replace; /* replacement string */ char *context; /* context glob */ unsigned reflags; /* regexp flags */ @@ -85,7 +85,7 @@ struct transform { char *type; /* track or dir */ char *context; /* sort or choose */ char *replace; /* substitution string */ - struct real_pcre *re; /* compiled re */ + pcre *re; /* compiled re */ unsigned flags; /* regexp flags */ };