X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/7e4708e456b17131f28ae7f1ff7b5c7f86e2f803..bb1cbbe82a40a9cffb8d143bed2e3aa245595450:/url.h diff --git a/url.h b/url.h index be38bdc..e0906ce 100644 --- a/url.h +++ b/url.h @@ -7,7 +7,7 @@ * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the mLib utilities library. * @@ -15,12 +15,12 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * mLib is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with mLib; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, @@ -46,14 +46,17 @@ typedef struct url_ectx { unsigned f; } url_ectx; -#define URLF_SEP 1u -#define URLF_STRICT 2u -#define URLF_LAX 4u typedef struct url_dctx { const char *p; + unsigned f; } url_dctx; +#define URLF_SEP 1u +#define URLF_STRICT 2u +#define URLF_LAX 4u +#define URLF_SEMI 8u + /*----- Functions provided ------------------------------------------------*/ /* --- @url_initenc@ --- *