1*3e41d09dSXin LI /*- 2*3e41d09dSXin LI * Copyright (c) 2016 Christos Zoulas 3*3e41d09dSXin LI * All rights reserved. 4*3e41d09dSXin LI * 5*3e41d09dSXin LI * Redistribution and use in source and binary forms, with or without 6*3e41d09dSXin LI * modification, are permitted provided that the following conditions 7*3e41d09dSXin LI * are met: 8*3e41d09dSXin LI * 1. Redistributions of source code must retain the above copyright 9*3e41d09dSXin LI * notice, this list of conditions and the following disclaimer. 10*3e41d09dSXin LI * 2. Redistributions in binary form must reproduce the above copyright 11*3e41d09dSXin LI * notice, this list of conditions and the following disclaimer in the 12*3e41d09dSXin LI * documentation and/or other materials provided with the distribution. 13*3e41d09dSXin LI * 14*3e41d09dSXin LI * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 15*3e41d09dSXin LI * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 16*3e41d09dSXin LI * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17*3e41d09dSXin LI * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 18*3e41d09dSXin LI * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19*3e41d09dSXin LI * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20*3e41d09dSXin LI * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21*3e41d09dSXin LI * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22*3e41d09dSXin LI * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23*3e41d09dSXin LI * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24*3e41d09dSXin LI * POSSIBILITY OF SUCH DAMAGE. 25*3e41d09dSXin LI */ 26*3e41d09dSXin LI 27*3e41d09dSXin LI extern int der_offs(struct magic_set *, struct magic *, size_t); 28*3e41d09dSXin LI extern int der_cmp(struct magic_set *, struct magic *); 29