make the krb5_storage opaque, and add function wrappers for
store/fetch/seek, and also make the eof-code configurable git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10931 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000, 2002 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "krb5_locl.h"
|
||||
#include "store-int.h"
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -100,6 +101,7 @@ krb5_storage_from_mem(void *buf, size_t len)
|
||||
}
|
||||
sp->data = s;
|
||||
sp->flags = 0;
|
||||
sp->eof_code = HEIM_ERR_EOF;
|
||||
s->base = buf;
|
||||
s->size = len;
|
||||
s->ptr = buf;
|
||||
|
Reference in New Issue
Block a user