xref: /freebsd/kerberos5/lib/libgssapi_krb5/prefix.c (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
133f12199SDoug Rabson /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
31de7b4b8SPedro F. Giffuni  *
433f12199SDoug Rabson  * Copyright (c) 2008 Doug Rabson
533f12199SDoug Rabson  * All rights reserved.
633f12199SDoug Rabson  *
733f12199SDoug Rabson  * Redistribution and use in source and binary forms, with or without
833f12199SDoug Rabson  * modification, are permitted provided that the following conditions
933f12199SDoug Rabson  * are met:
1033f12199SDoug Rabson  * 1. Redistributions of source code must retain the above copyright
1133f12199SDoug Rabson  *    notice, this list of conditions and the following disclaimer.
1233f12199SDoug Rabson  * 2. Redistributions in binary form must reproduce the above copyright
1333f12199SDoug Rabson  *    notice, this list of conditions and the following disclaimer in the
1433f12199SDoug Rabson  *    documentation and/or other materials provided with the distribution.
1533f12199SDoug Rabson  *
1633f12199SDoug Rabson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1733f12199SDoug Rabson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1833f12199SDoug Rabson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1933f12199SDoug Rabson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2033f12199SDoug Rabson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2133f12199SDoug Rabson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2233f12199SDoug Rabson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2333f12199SDoug Rabson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2433f12199SDoug Rabson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2533f12199SDoug Rabson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2633f12199SDoug Rabson  * SUCH DAMAGE.
2733f12199SDoug Rabson  */
2833f12199SDoug Rabson 
2933f12199SDoug Rabson const char *
_gss_name_prefix(void)3033f12199SDoug Rabson _gss_name_prefix(void)
3133f12199SDoug Rabson {
3233f12199SDoug Rabson 	return "_gsskrb5";
3333f12199SDoug Rabson }
34