#ifndef ESTREAMP_H
#define ESTREAMP_H
#define EBUFLEN 1024
typedef struct ebuf
{
    struct ebuf *next;
    char data[EBUFLEN];
    int size;
} ebuf_data, *ebuf;
typedef int (*io_func)(char *, char *, int);
typedef struct _estream
{
    io_func read_func;
    io_func write_func;
    char *priv;			/* closure for io_funcs */
    krb5_address *my_addr;	/* oh fine, so we assume that */
    krb5_enctype etype;		/* krb5/krb5.h is #included */
    char *in_ivec, *out_ivec;
    krb5_int32 seqno;
    krb5_keyblock *skey;
    ebuf in;
    ebuf out;
} estream_data, *estream;
#endif
