inquire_names_for_mech.c revision 178825
150276Speter/*
250276Speter * Copyright (c) 2006 Kungliga Tekniska H�gskolan
356639Speter * (Royal Institute of Technology, Stockholm, Sweden).
450276Speter * All rights reserved.
550276Speter *
650276Speter * Redistribution and use in source and binary forms, with or without
750276Speter * modification, are permitted provided that the following conditions
850276Speter * are met:
950276Speter *
1050276Speter * 1. Redistributions of source code must retain the above copyright
1150276Speter *    notice, this list of conditions and the following disclaimer.
1250276Speter *
1350276Speter * 2. Redistributions in binary form must reproduce the above copyright
1450276Speter *    notice, this list of conditions and the following disclaimer in the
1550276Speter *    documentation and/or other materials provided with the distribution.
1650276Speter *
1750276Speter * 3. Neither the name of the Institute nor the names of its contributors
1850276Speter *    may be used to endorse or promote products derived from this software
1950276Speter *    without specific prior written permission.
2050276Speter *
2150276Speter * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
2250276Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2350276Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2450276Speter * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
2550276Speter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2650276Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2750276Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2850276Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2950276Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3050276Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3150276Speter * SUCH DAMAGE.
3250276Speter */
3350276Speter
3450276Speter#include "ntlm/ntlm.h"
3556639Speter
3650276SpeterRCSID("$Id: inquire_names_for_mech.c 19334 2006-12-14 12:17:34Z lha $");
3750276Speter
3850276Speter
3950276SpeterOM_uint32 _gss_ntlm_inquire_names_for_mech (
4050276Speter            OM_uint32 * minor_status,
4150276Speter            const gss_OID mechanism,
4250276Speter            gss_OID_set * name_types
4350276Speter           )
4450276Speter{
4550276Speter    OM_uint32 ret;
4650276Speter
4750276Speter    ret = gss_create_empty_oid_set(minor_status, name_types);
4850276Speter    if (ret != GSS_S_COMPLETE)
4950276Speter	return ret;
5050276Speter
5150276Speter    *minor_status = 0;
5250276Speter    return GSS_S_COMPLETE;
5350276Speter}
5450276Speter