summaryrefslogtreecommitdiffstats
path: root/src/ccapi/test/test_ccapi_v2.h
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-03-12 16:50:21 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-03-12 16:50:21 +0000
commit9b58ededdc28757a3a203e645094a2cd854434cf (patch)
treefc92e9bf3fbd2ff26887abd80bfa3015298417b0 /src/ccapi/test/test_ccapi_v2.h
parentb03001c9aad53a6ecdc8ebef0493882bad0a826c (diff)
downloadkrb5-9b58ededdc28757a3a203e645094a2cd854434cf.tar.gz
krb5-9b58ededdc28757a3a203e645094a2cd854434cf.tar.xz
krb5-9b58ededdc28757a3a203e645094a2cd854434cf.zip
Added tests for iterators and NC info. Added test programs for
each test. Cleaned up portability issues introduced by Windows testing. ticket: 5909 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20270 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/test_ccapi_v2.h')
-rw-r--r--src/ccapi/test/test_ccapi_v2.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ccapi/test/test_ccapi_v2.h b/src/ccapi/test/test_ccapi_v2.h
index 4596bb5d6..55abdffde 100644
--- a/src/ccapi/test/test_ccapi_v2.h
+++ b/src/ccapi/test/test_ccapi_v2.h
@@ -48,4 +48,26 @@ cc_result check_once_cc_store(apiCB *context, ccache_p *ccache, const cred_union
int check_cc_remove_cred(void);
cc_result check_once_cc_remove_cred(apiCB *context, ccache_p *ccache, cred_union in_creds, cc_int32 expected_err, const char *description);
+
+int check_cc_seq_fetch_NCs_begin(void);
+cc_result check_once_cc_seq_fetch_NCs_begin(apiCB *context, ccache_cit **iterator, cc_result expected_err, const char *description);
+
+int check_cc_seq_fetch_NCs_next(void);
+cc_result check_once_cc_seq_fetch_NCs_next(apiCB *context, ccache_cit *iterator, cc_uint32 expected_count, cc_result expected_err, const char *description);
+
+int check_cc_get_NC_info(void);
+cc_result check_once_cc_get_NC_info(apiCB *context,
+ const char *expected_name,
+ const char *expected_principal,
+ cc_int32 expected_version,
+ cc_uint32 expected_count,
+ cc_result expected_err,
+ const char *description);
+
+int check_cc_seq_fetch_creds_begin(void);
+cc_result check_once_cc_seq_fetch_creds_begin(apiCB *context, ccache_p *ccache, ccache_cit **iterator, cc_result expected_err, const char *description);
+
+int check_cc_seq_fetch_creds_next(void);
+cc_result check_once_cc_seq_fetch_creds_next(apiCB *context, ccache_cit *iterator, cc_uint32 expected_count, cc_result expected_err, const char *description);
+
#endif /* _TEST_CCAPI_V2_H_ */