1*22c3edb3SPhilip Paeps /* 2*22c3edb3SPhilip Paeps __ __ _ 3*22c3edb3SPhilip Paeps ___\ \/ /_ __ __ _| |_ 4*22c3edb3SPhilip Paeps / _ \\ /| '_ \ / _` | __| 5*22c3edb3SPhilip Paeps | __// \| |_) | (_| | |_ 6*22c3edb3SPhilip Paeps \___/_/\_\ .__/ \__,_|\__| 7*22c3edb3SPhilip Paeps |_| XML parser 8*22c3edb3SPhilip Paeps 9*22c3edb3SPhilip Paeps Copyright (c) 2026 Sebastian Pipping <sebastian@pipping.org> 10*22c3edb3SPhilip Paeps Licensed under the MIT license: 11*22c3edb3SPhilip Paeps 12*22c3edb3SPhilip Paeps Permission is hereby granted, free of charge, to any person obtaining 13*22c3edb3SPhilip Paeps a copy of this software and associated documentation files (the 14*22c3edb3SPhilip Paeps "Software"), to deal in the Software without restriction, including 15*22c3edb3SPhilip Paeps without limitation the rights to use, copy, modify, merge, publish, 16*22c3edb3SPhilip Paeps distribute, sublicense, and/or sell copies of the Software, and to permit 17*22c3edb3SPhilip Paeps persons to whom the Software is furnished to do so, subject to the 18*22c3edb3SPhilip Paeps following conditions: 19*22c3edb3SPhilip Paeps 20*22c3edb3SPhilip Paeps The above copyright notice and this permission notice shall be included 21*22c3edb3SPhilip Paeps in all copies or substantial portions of the Software. 22*22c3edb3SPhilip Paeps 23*22c3edb3SPhilip Paeps THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24*22c3edb3SPhilip Paeps EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25*22c3edb3SPhilip Paeps MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 26*22c3edb3SPhilip Paeps NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 27*22c3edb3SPhilip Paeps DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 28*22c3edb3SPhilip Paeps OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 29*22c3edb3SPhilip Paeps USE OR OTHER DEALINGS IN THE SOFTWARE. 30*22c3edb3SPhilip Paeps 31*22c3edb3SPhilip Paeps SPDX-License-Identifier: MIT 32*22c3edb3SPhilip Paeps */ 33*22c3edb3SPhilip Paeps 34*22c3edb3SPhilip Paeps #if ! defined(EXPAT_XCS_H) 35*22c3edb3SPhilip Paeps 36*22c3edb3SPhilip Paeps # include <stddef.h> // size_t 37*22c3edb3SPhilip Paeps # include "expat_external.h" // for XML_Char 38*22c3edb3SPhilip Paeps 39*22c3edb3SPhilip Paeps extern size_t xcslen(const XML_Char *s); 40*22c3edb3SPhilip Paeps 41*22c3edb3SPhilip Paeps extern int xcscmp(const XML_Char *a, const XML_Char *b); 42*22c3edb3SPhilip Paeps extern int xcsncmp(const XML_Char *a, const XML_Char *b, size_t len); 43*22c3edb3SPhilip Paeps 44*22c3edb3SPhilip Paeps #endif // ! defined(EXPAT_XCS_H) 45