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