These are constants
/* possible owners of http header */
typedef enum {
hoNone,
#if USE_HTCP
hoHtcpReply,
#endif
hoRequest,
hoReply
} http_hdr_owner_type;
Seems to only be used to separate the header statistics in request,
replies (and HTCP if used).
Whenever we have constants like this, we always have a "none"
constant with the value 0 (first value of a enum). This to tell that
the field hasn't been assigned yet. Even if we never use the "none"
constant in the code, having it helps greatly when debugging as it
then is very easy to see from the debugger that the field hasn't been
initialized.
Regards
Henrik
On Monday 22 April 2002 08:31, maer727@sohu.com wrote:
> Hi, pals!
>
> I search the codes where the above variables are used,
> IMHO, I think hoRequest means the owner of the header of
> the request, hoReply means the owner of the header of
> the reply. Am I correct?
Received on Mon Apr 22 2002 - 02:09:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:17 MST