1271612Sdes/*-
2348980Sdes * Copyright (c) 2014 Dag-Erling Sm��rgrav
3271612Sdes * All rights reserved.
4271612Sdes *
5271612Sdes * Redistribution and use in source and binary forms, with or without
6271612Sdes * modification, are permitted provided that the following conditions
7271612Sdes * are met:
8271612Sdes * 1. Redistributions of source code must retain the above copyright
9271612Sdes *    notice, this list of conditions and the following disclaimer.
10271612Sdes * 2. Redistributions in binary form must reproduce the above copyright
11271612Sdes *    notice, this list of conditions and the following disclaimer in the
12271612Sdes *    documentation and/or other materials provided with the distribution.
13271612Sdes * 3. The name of the author may not be used to endorse or promote
14271612Sdes *    products derived from this software without specific prior written
15271612Sdes *    permission.
16271612Sdes *
17271612Sdes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18271612Sdes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19271612Sdes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20271612Sdes * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21271612Sdes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22271612Sdes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23271612Sdes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24271612Sdes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25271612Sdes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26271612Sdes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27271612Sdes * SUCH DAMAGE.
28271612Sdes *
29348980Sdes * $OpenPAM: openpam_strlset.h 938 2017-04-30 21:34:42Z des $
30271612Sdes */
31271612Sdes
32271612Sdes#ifndef OPENPAM_STRLSET_H_INCLUDED
33271612Sdes#define OPENPAM_STRLSET_H_INCLUDED
34271612Sdes
35271612Sdes#ifndef HAVE_STRLSET
36271612Sdessize_t openpam_strlset(char *, int, size_t);
37271612Sdes#undef strlset
38271612Sdes#define strlset(arg, ...) openpam_strlset(arg, __VA_ARGS__)
39271612Sdes#endif
40271612Sdes
41271612Sdes#endif
42