/*
- * $Id: Array.h,v 1.12 2003/02/05 10:36:31 robertc Exp $
+ * $Id: Array.h,v 1.13 2003/07/12 12:39:56 robertc Exp $
*
* AUTHOR: Alex Rousskov
*
bool operator == (VectorIteratorBase const &rhs);
VectorIteratorBase & operator ++();
VectorIteratorBase operator ++(int);
- typename C::value_type & operator *() const;
- typename C::value_type * operator -> () const;
+ typename C::value_type & operator *() const
+ {
+ return theVector->items[pos];
+ }
+ typename C::value_type * operator -> () const
+ {
+ return &theVector->items[pos];
+ }
ssize_t operator - (VectorIteratorBase const &rhs) const;
bool incrementable() const;
private:
/*
- * $Id: authenticate.h,v 1.9 2003/07/11 01:40:36 robertc Exp $
+ * $Id: authenticate.h,v 1.10 2003/07/12 12:39:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
time_t ip_expiretime;
};
-struct AuthUser
+class AuthUser
{
+
+public:
/* extra fields for proxy_auth */
/* this determines what scheme owns the user data. */
auth_type_t auth_type;
/*
- * $Id: client_side.h,v 1.4 2003/07/11 02:11:47 robertc Exp $
+ * $Id: client_side.h,v 1.5 2003/07/12 12:39:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
this, aBool);
}
- struct
+ class DeferredParams
{
+
+ public:
clientStreamNode *node;
HttpReply *rep;
StoreIOBuffer queuedBuffer;
- }
+ };
- deferredparams;
+ DeferredParams deferredparams;
off_t writtenToSocket;
void pullData();
off_t getNextRangeOffset() const;
/*
- * $Id: typedefs.h,v 1.163 2003/07/06 21:50:56 hno Exp $
+ * $Id: typedefs.h,v 1.164 2003/07/12 12:39:56 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
typedef struct _acl_deny_info_list acl_deny_info_list;
-typedef struct AuthUser auth_user_t;
+typedef class AuthUser auth_user_t;
class AuthUserRequest;
typedef AuthUserRequest auth_user_request_t;