From ffe87ee402be5afb53b29edaff7a9bfdb5963739 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 4 May 1990 10:25:56 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@716 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/rcache/rc_io.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/lib/krb5/rcache/rc_io.h diff --git a/src/lib/krb5/rcache/rc_io.h b/src/lib/krb5/rcache/rc_io.h new file mode 100644 index 000000000..82d3be8b3 --- /dev/null +++ b/src/lib/krb5/rcache/rc_io.h @@ -0,0 +1,31 @@ +/* +Copyright 1990, Daniel J. Bernstein. All rights reserved. + +Please address any questions or comments to the author at brnstnd@acf10.nyu.edu. +*/ + +#ifndef KRB5_RC_IO_H +#define KRB5_RC_IO_H +#include "krb5/krb5.h" + +typedef struct krb5_rc_iostuff + { + int fd; + int mark; /* on newer systems, should be pos_t */ + char *fn; + } +krb5_rc_iostuff; + +/* first argument is always iostuff for result file */ + +krb5_error_code krb5_rc_io_creat PROTOTYPE((krb5_rc_iostuff *,char **)); +krb5_error_code krb5_rc_io_open PROTOTYPE((krb5_rc_iostuff *,char *)); +krb5_error_code krb5_rc_io_move PROTOTYPE((krb5_rc_iostuff *,krb5_rc_iostuff *)); +krb5_error_code krb5_rc_io_write PROTOTYPE((krb5_rc_iostuff *,krb5_pointer,int)); +krb5_error_code krb5_rc_io_read PROTOTYPE((krb5_rc_iostuff *,krb5_pointer,int)); +krb5_error_code krb5_rc_io_close PROTOTYPE((krb5_rc_iostuff *)); +krb5_error_code krb5_rc_io_destroy PROTOTYPE((krb5_rc_iostuff *)); +krb5_error_code krb5_rc_io_mark PROTOTYPE((krb5_rc_iostuff *)); +krb5_error_code krb5_rc_io_unmark PROTOTYPE((krb5_rc_iostuff *)); + +#endif -- 2.26.2