1*7f2fe78bSCy Schubert #ifndef _TEST_CCAPI_CONTEXT_H_ 2*7f2fe78bSCy Schubert #define _TEST_CCAPI_CONTEXT_H_ 3*7f2fe78bSCy Schubert 4*7f2fe78bSCy Schubert #include "test_ccapi_globals.h" 5*7f2fe78bSCy Schubert 6*7f2fe78bSCy Schubert int check_cc_initialize(void); 7*7f2fe78bSCy Schubert cc_int32 check_once_cc_initialize(cc_context_t *out_context, cc_int32 in_version, cc_int32 *out_supported_version, char const **out_vendor, cc_int32 expected_err, const char *description); 8*7f2fe78bSCy Schubert int check_cc_context_get_version(void); 9*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_get_version(cc_context_t *out_context, cc_int32 in_version, cc_int32 *out_supported_version, char const **out_vendor, cc_int32 expected_err, const char *description); 10*7f2fe78bSCy Schubert int check_cc_context_release(void); 11*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_release(cc_context_t *out_context, cc_int32 expected_err, const char *description); 12*7f2fe78bSCy Schubert int check_cc_context_get_change_time(void); 13*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_get_change_time(cc_context_t context, cc_time_t *time, cc_int32 expected_err, const char *description); 14*7f2fe78bSCy Schubert int check_cc_context_get_default_ccache_name(void); 15*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_get_default_ccache_name(cc_context_t context, cc_string_t *name, cc_int32 expected_err, const char *description); 16*7f2fe78bSCy Schubert int check_cc_context_open_ccache(void); 17*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_open_ccache(cc_context_t context, const char *name, cc_ccache_t *ccache, cc_int32 expected_err, const char *description); 18*7f2fe78bSCy Schubert int check_cc_context_open_default_ccache(void); 19*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_open_default_ccache(cc_context_t context, cc_ccache_t *ccache, cc_int32 expected_err, const char *description); 20*7f2fe78bSCy Schubert int check_cc_context_create_ccache(void); 21*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_create_ccache(cc_context_t context, const char *name, cc_uint32 cred_vers, const char *principal, cc_ccache_t *ccache, cc_int32 expected_err, const char *description); 22*7f2fe78bSCy Schubert int check_cc_context_create_default_ccache(void); 23*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_create_default_ccache(cc_context_t context, cc_uint32 cred_vers, const char *principal, cc_ccache_t *ccache, cc_int32 expected_err, const char *description); 24*7f2fe78bSCy Schubert int check_cc_context_create_new_ccache(void); 25*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_create_new_ccache(cc_context_t context, cc_int32 should_be_default, cc_uint32 cred_vers, const char *principal, cc_ccache_t *ccache, cc_int32 expected_err, const char *description); 26*7f2fe78bSCy Schubert int check_cc_context_new_ccache_iterator(void); 27*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_new_ccache_iterator(cc_context_t context, cc_ccache_iterator_t *iterator, cc_int32 expected_err, const char *description); 28*7f2fe78bSCy Schubert 29*7f2fe78bSCy Schubert int check_cc_context_compare(void); 30*7f2fe78bSCy Schubert cc_int32 check_once_cc_context_compare(cc_context_t context, cc_context_t compare_to, cc_uint32 *equal, cc_int32 expected_err, const char *description); 31*7f2fe78bSCy Schubert 32*7f2fe78bSCy Schubert #endif /* _TEST_CCAPI_CONTEXT_H_ */ 33