1*10598SGlenn.Barry@Sun.COM /*
2*10598SGlenn.Barry@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3*10598SGlenn.Barry@Sun.COM * Use is subject to license terms.
4*10598SGlenn.Barry@Sun.COM */
5*10598SGlenn.Barry@Sun.COM
6*10598SGlenn.Barry@Sun.COM /*
7*10598SGlenn.Barry@Sun.COM * Copyright 2008 by the Massachusetts Institute of Technology.
8*10598SGlenn.Barry@Sun.COM * All Rights Reserved.
9*10598SGlenn.Barry@Sun.COM *
10*10598SGlenn.Barry@Sun.COM * Export of this software from the United States of America may
11*10598SGlenn.Barry@Sun.COM * require a specific license from the United States Government.
12*10598SGlenn.Barry@Sun.COM * It is the responsibility of any person or organization contemplating
13*10598SGlenn.Barry@Sun.COM * export to obtain such a license before exporting.
14*10598SGlenn.Barry@Sun.COM *
15*10598SGlenn.Barry@Sun.COM * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
16*10598SGlenn.Barry@Sun.COM * distribute this software and its documentation for any purpose and
17*10598SGlenn.Barry@Sun.COM * without fee is hereby granted, provided that the above copyright
18*10598SGlenn.Barry@Sun.COM * notice appear in all copies and that both that copyright notice and
19*10598SGlenn.Barry@Sun.COM * this permission notice appear in supporting documentation, and that
20*10598SGlenn.Barry@Sun.COM * the name of M.I.T. not be used in advertising or publicity pertaining
21*10598SGlenn.Barry@Sun.COM * to distribution of the software without specific, written prior
22*10598SGlenn.Barry@Sun.COM * permission. Furthermore if you modify this software you must label
23*10598SGlenn.Barry@Sun.COM * your software as modified software and not distribute it in such a
24*10598SGlenn.Barry@Sun.COM * fashion that it might be confused with the original M.I.T. software.
25*10598SGlenn.Barry@Sun.COM * M.I.T. makes no representations about the suitability of
26*10598SGlenn.Barry@Sun.COM * this software for any purpose. It is provided "as is" without express
27*10598SGlenn.Barry@Sun.COM * or implied warranty.
28*10598SGlenn.Barry@Sun.COM *
29*10598SGlenn.Barry@Sun.COM */
30*10598SGlenn.Barry@Sun.COM
31*10598SGlenn.Barry@Sun.COM #include "mglueP.h"
32*10598SGlenn.Barry@Sun.COM #include <stdio.h>
33*10598SGlenn.Barry@Sun.COM #ifdef HAVE_STDLIB_H
34*10598SGlenn.Barry@Sun.COM #include <stdlib.h>
35*10598SGlenn.Barry@Sun.COM #endif
36*10598SGlenn.Barry@Sun.COM #include <string.h>
37*10598SGlenn.Barry@Sun.COM #include <errno.h>
38*10598SGlenn.Barry@Sun.COM
gss_create_empty_buffer_set(OM_uint32 * minor_status,gss_buffer_set_t * buffer_set)39*10598SGlenn.Barry@Sun.COM OM_uint32 gss_create_empty_buffer_set
40*10598SGlenn.Barry@Sun.COM (OM_uint32 * minor_status,
41*10598SGlenn.Barry@Sun.COM gss_buffer_set_t *buffer_set)
42*10598SGlenn.Barry@Sun.COM {
43*10598SGlenn.Barry@Sun.COM return generic_gss_create_empty_buffer_set(minor_status, buffer_set);
44*10598SGlenn.Barry@Sun.COM }
45*10598SGlenn.Barry@Sun.COM
gss_add_buffer_set_member(OM_uint32 * minor_status,const gss_buffer_t member_buffer,gss_buffer_set_t * buffer_set)46*10598SGlenn.Barry@Sun.COM OM_uint32 gss_add_buffer_set_member
47*10598SGlenn.Barry@Sun.COM (OM_uint32 * minor_status,
48*10598SGlenn.Barry@Sun.COM const gss_buffer_t member_buffer,
49*10598SGlenn.Barry@Sun.COM gss_buffer_set_t *buffer_set)
50*10598SGlenn.Barry@Sun.COM {
51*10598SGlenn.Barry@Sun.COM return generic_gss_add_buffer_set_member(minor_status,
52*10598SGlenn.Barry@Sun.COM member_buffer,
53*10598SGlenn.Barry@Sun.COM buffer_set);
54*10598SGlenn.Barry@Sun.COM }
55*10598SGlenn.Barry@Sun.COM
gss_release_buffer_set(OM_uint32 * minor_status,gss_buffer_set_t * buffer_set)56*10598SGlenn.Barry@Sun.COM OM_uint32 gss_release_buffer_set
57*10598SGlenn.Barry@Sun.COM (OM_uint32 * minor_status,
58*10598SGlenn.Barry@Sun.COM gss_buffer_set_t *buffer_set)
59*10598SGlenn.Barry@Sun.COM {
60*10598SGlenn.Barry@Sun.COM return generic_gss_release_buffer_set(minor_status, buffer_set);
61*10598SGlenn.Barry@Sun.COM }
62*10598SGlenn.Barry@Sun.COM
63