diff options
| author | Miro Jurisic <meeroh@mit.edu> | 1998-10-21 21:51:20 +0000 |
|---|---|---|
| committer | Miro Jurisic <meeroh@mit.edu> | 1998-10-21 21:51:20 +0000 |
| commit | d4121fe6200a23cac8f3ba0037896a740634343c (patch) | |
| tree | 771b071bd4542925f443b0b2b5643c6491f618de /src/mac/libraries/CCache API/include | |
| parent | 8c3395b6a09b6ec2e49d3926ee15471c2146b993 (diff) | |
| download | krb5-d4121fe6200a23cac8f3ba0037896a740634343c.tar.gz krb5-d4121fe6200a23cac8f3ba0037896a740634343c.tar.xz krb5-d4121fe6200a23cac8f3ba0037896a740634343c.zip | |
Added CodeWarrior Pro4 projects and docs, updated the Mac makefile to automagically build CW projects, updated CCache lib files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10976 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/libraries/CCache API/include')
| -rw-r--r-- | src/mac/libraries/CCache API/include/CCacheUtil.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mac/libraries/CCache API/include/CCacheUtil.h b/src/mac/libraries/CCache API/include/CCacheUtil.h new file mode 100644 index 000000000..23426fc67 --- /dev/null +++ b/src/mac/libraries/CCache API/include/CCacheUtil.h @@ -0,0 +1,28 @@ +#include "CCache.h" + +#define kCredsMatch 1 +#define kCredsDiffer 0 + +// ----- Prototypes for Private Functions ------------------ +cred_union ** newCredBuffer(ccache_p *nc); +int credBufferInsert(ccache_p* nc, cred_union creds); +int credBufferRemove(ccache_p* nc, const cred_union cred_to_remove); + +char credcmp (cred_union a, cred_union b); + +char isLockOurs(const ccache_p *nc); + +int copyDataObj(cc_data *obj, cc_data src); +int copyV5Cred(cred_union src, cred_union **dest); +int copyV4Cred(cred_union src, cred_union **dest); +int dupNC(ccache_p* src, ccache_p** dest); +void copyDataArray(cc_data **src, cc_data ***dest); + +void disposeDataArray(cc_data **base); +int cc_free_cred_internals(cred_union *creds); +int freeNCList(apiCB *cntrlBlock); +int disposeCredBuffer(apiCB *cc_ctx, ccache_p *nc); + +Ptr NewSafePtr(long size); +Ptr NewSafePtrSys(long size); +void DisposeSafePtr(Ptr safeP); |
