Re: swap.state file format

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 18 Nov 1998 12:47:57 -0700

Eric DOUTRELEAU writes:

>
>Hi
>
>Can someone tell me what is the format of the swap.state file
>in the squid2.X version?

It is a series of storeSwapLogData structures:

struct _storeSwapLogData {
    char op;
    int swap_file_number;
    time_t timestamp;
    time_t lastref;
    time_t expires;
    time_t lastmod;
    size_t swap_file_sz;
    u_short refcount;
    u_short flags;
    unsigned char key[MD5_DIGEST_CHARS];
};

Duane W.
Received on Wed Nov 18 1998 - 12:43:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:09 MST