/*
- * $Id: protos.h,v 1.518 2006/01/03 23:26:20 wessels Exp $
+ * $Id: protos.h,v 1.519 2006/04/21 13:57:41 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
SQUIDCEXTERN void file_read(int, char *, int, off_t, DRCB *, void *);
SQUIDCEXTERN void disk_init(void);
-/* diskd.c */
-SQUIDCEXTERN diskd_queue *afile_create_queue(void);
-SQUIDCEXTERN void afile_destroy_queue(diskd_queue *);
-SQUIDCEXTERN void afile_sync_queue(diskd_queue *);
-SQUIDCEXTERN void afile_sync(void);
-SQUIDCEXTERN void afile_open(const char *path, int mode, DOCB *, void *);
-SQUIDCEXTERN void afile_close(int fd, DCCB * callback, void *data);
-SQUIDCEXTERN void afile_write(int, off_t, void *, int len, DWCB *, void *, FREE *);
-SQUIDCEXTERN void afile_write_mbuf(int fd, off_t, MemBuf, DWCB *, void *);
-SQUIDCEXTERN void afile_read(int, char *, int, off_t, DRCB *, void *);
-SQUIDCEXTERN void afile_unlink(const char *path, DUCB *, void *);
-SQUIDCEXTERN void afile_truncate(const char *path, DTCB *, void *);
-
SQUIDCEXTERN void dnsShutdown(void);
SQUIDCEXTERN void dnsInit(void);
SQUIDCEXTERN void dnsSubmit(const char *lookup, HLPCB * callback, void *data);
/*
- * $Id: structs.h,v 1.536 2006/04/02 14:32:35 serassio Exp $
+ * $Id: structs.h,v 1.537 2006/04/21 13:57:41 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
REMOVALPOLICYCREATE *create;
};
-/*
- * Async disk IO - this defines a async disk io queue
- */
-
-struct _diskd_queue
-{
- int smsgid; /* send sysvmsg id */
- int rmsgid; /* recv sysvmsg id */
- int wfd; /* queue file descriptor ? */
- int away; /* number of requests away */
- int sent_count; /* number of messages sent */
- int recv_count; /* number of messages received */
-
- struct
- {
- char *buf; /* shm buffer */
- link_list *stack;
- int id; /* sysvshm id */
- }
-
- shm;
-};
-
struct _Logfile
{
int fd;
customlog_type type;
};
-struct cache_dir_option
-{
- const char *name;
- void (*parse) (SwapDir * sd, const char *option, const char *value, int reconfiguring);
- void (*dump) (StoreEntry * e, const char *option, SwapDir const * sd);
-};
-
#endif /* SQUID_STRUCTS_H */
/*
- * $Id: typedefs.h,v 1.178 2006/01/03 17:22:31 wessels Exp $
+ * $Id: typedefs.h,v 1.179 2006/04/21 13:57:41 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
typedef struct _storerepl_entry storerepl_entry_t;
-typedef struct _diskd_queue diskd_queue;
-
typedef struct _Logfile Logfile;
typedef struct _logformat_token logformat_token;