diff options
| author | Marc Horowitz <marc@mit.edu> | 1998-10-30 03:24:38 +0000 |
|---|---|---|
| committer | Marc Horowitz <marc@mit.edu> | 1998-10-30 03:24:38 +0000 |
| commit | 4f48a6df86ec7a84e2dc2bedb0966d06a00bdd64 (patch) | |
| tree | d5aedf3ef2630a881286f2679e1c0c955477ba18 /src/mac/libraries/CCache API/include/CCacheUtil.h | |
| parent | ed61ce6f35d60c0d085f2a906878daa5f87e0a25 (diff) | |
| download | krb5-4f48a6df86ec7a84e2dc2bedb0966d06a00bdd64.tar.gz krb5-4f48a6df86ec7a84e2dc2bedb0966d06a00bdd64.tar.xz krb5-4f48a6df86ec7a84e2dc2bedb0966d06a00bdd64.zip | |
add back mistakenly deleted files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11004 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/libraries/CCache API/include/CCacheUtil.h')
| -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); |
