From: robertc <> Date: Fri, 21 Apr 2006 19:57:41 +0000 (+0000) Subject: Remove some unused header symbols. X-Git-Tag: SQUID_3_0_PRE4~259 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd7e7f9183ed98b941538690fd4c6f087df20164;p=thirdparty%2Fsquid.git Remove some unused header symbols. --- diff --git a/src/protos.h b/src/protos.h index 8609bc06f6..a4c15d2a21 100644 --- a/src/protos.h +++ b/src/protos.h @@ -1,6 +1,6 @@ /* - * $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/ @@ -207,19 +207,6 @@ SQUIDCEXTERN void file_write_mbuf(int fd, off_t, MemBuf mb, DWCB * handler, void 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); diff --git a/src/structs.h b/src/structs.h index 9fb3244539..f7f9aaa370 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,6 +1,6 @@ /* - * $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/ @@ -2074,29 +2074,6 @@ struct _storerepl_entry 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; @@ -2133,11 +2110,4 @@ struct _customlog 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 */ diff --git a/src/typedefs.h b/src/typedefs.h index 5a2d0676e8..56dc7bbbee 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -1,6 +1,6 @@ /* - * $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/ @@ -237,8 +237,6 @@ typedef struct _link_list link_list; typedef struct _storerepl_entry storerepl_entry_t; -typedef struct _diskd_queue diskd_queue; - typedef struct _Logfile Logfile; typedef struct _logformat_token logformat_token;