Path: blob/main/crypto/krb5/src/ccapi/lib/ccapi_credentials_iterator.h
39536 views
/* ccapi/lib/ccapi_credentials_iterator.h */1/*2* Copyright 2006 Massachusetts Institute of Technology.3* All Rights Reserved.4*5* Export of this software from the United States of America may6* require a specific license from the United States Government.7* It is the responsibility of any person or organization contemplating8* export to obtain such a license before exporting.9*10* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and11* distribute this software and its documentation for any purpose and12* without fee is hereby granted, provided that the above copyright13* notice appear in all copies and that both that copyright notice and14* this permission notice appear in supporting documentation, and that15* the name of M.I.T. not be used in advertising or publicity pertaining16* to distribution of the software without specific, written prior17* permission. Furthermore if you modify this software you must label18* your software as modified software and not distribute it in such a19* fashion that it might be confused with the original M.I.T. software.20* M.I.T. makes no representations about the suitability of21* this software for any purpose. It is provided "as is" without express22* or implied warranty.23*/2425#ifndef CCAPI_CREDENTIALS_ITERATOR_H26#define CCAPI_CREDENTIALS_ITERATOR_H2728#include "cci_common.h"2930cc_int32 cci_credentials_iterator_new (cc_credentials_iterator_t *out_credentials_iterator,31cci_identifier_t in_identifier);3233cc_int32 cci_credentials_iterator_write (cc_credentials_iterator_t in_credentials_iterator,34k5_ipc_stream in_stream);3536cc_int32 ccapi_credentials_iterator_release (cc_credentials_iterator_t io_credentials_iterator);3738cc_int32 ccapi_credentials_iterator_next (cc_credentials_iterator_t in_credentials_iterator,39cc_credentials_t *out_credentials);4041cc_int32 ccapi_credentials_iterator_clone (cc_credentials_iterator_t in_credentials_iterator,42cc_credentials_iterator_t *out_credentials_iterator);4344cc_int32 cci_credentials_iterator_get_compat_version (cc_credentials_iterator_t in_credentials_iterator,45cc_uint32 *out_compat_version);4647cc_int32 cci_credentials_iterator_set_compat_version (cc_credentials_iterator_t io_credentials_iterator,48cc_uint32 in_compat_version);4950#endif /* CCAPI_CREDENTIALS_ITERATOR_H */515253