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 - 2001 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 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$");
|
||||
|
||||
@@ -73,6 +74,7 @@ krb5_storage_from_fd(int fd)
|
||||
return NULL;
|
||||
}
|
||||
sp->flags = 0;
|
||||
sp->eof_code = HEIM_ERR_EOF;
|
||||
FD(sp) = fd;
|
||||
sp->fetch = fd_fetch;
|
||||
sp->store = fd_store;
|
||||
|
Reference in New Issue
Block a user