

/*
 * Client data structures / configuration 
 */

#ifndef client_h_INCLUDED
#define client_h_INCLUDED

#ifdef KERBEROS
#include <krb.h>
#endif

#define CLIENT_TIMEOUT 30		/* Max time to wait for server response to request (secs) */
#define PUSHBACKLEN 1024

typedef struct connection_s {
  int fd;
  int pushedback;
  char pushback[PUSHBACKLEN];
  int closed;
  int hasvolume;
  char mountpoint[1024];
  int daysleft;
} Connection;

extern int srvio_debug;			/* Debugging flag */

#endif
