Author: jfrederic.clere(a)jboss.com
Date: 2009-07-27 03:28:26 -0400 (Mon, 27 Jul 2009)
New Revision: 2510
Modified:
trunk/mod_cluster/native/include/balancer.h
trunk/mod_cluster/native/include/context.h
trunk/mod_cluster/native/include/domain.h
trunk/mod_cluster/native/include/host.h
trunk/mod_cluster/native/include/sessionid.h
Log:
Use apr_time_t.
Modified: trunk/mod_cluster/native/include/balancer.h
===================================================================
--- trunk/mod_cluster/native/include/balancer.h 2009-07-27 07:16:29 UTC (rev 2509)
+++ trunk/mod_cluster/native/include/balancer.h 2009-07-27 07:28:26 UTC (rev 2510)
@@ -57,7 +57,7 @@
int Timeout;
int Maxattempts;
- unsigned long updatetime; /* time of last received message */
+ apr_time_t updatetime; /* time of last received message */
int id; /* id in table */
};
typedef struct balancerinfo balancerinfo_t;
Modified: trunk/mod_cluster/native/include/context.h
===================================================================
--- trunk/mod_cluster/native/include/context.h 2009-07-27 07:16:29 UTC (rev 2509)
+++ trunk/mod_cluster/native/include/context.h 2009-07-27 07:28:26 UTC (rev 2510)
@@ -59,7 +59,7 @@
int node; /* id of the correspond node in nodes table */
int status; /* status: ENABLED/DISABLED/STOPPED */
- unsigned long updatetime; /* time of last received message */
+ apr_time_t updatetime; /* time of last received message */
int id; /* id in table */
};
typedef struct contextinfo contextinfo_t;
Modified: trunk/mod_cluster/native/include/domain.h
===================================================================
--- trunk/mod_cluster/native/include/domain.h 2009-07-27 07:16:29 UTC (rev 2509)
+++ trunk/mod_cluster/native/include/domain.h 2009-07-27 07:28:26 UTC (rev 2510)
@@ -52,7 +52,7 @@
char JVMRoute[JVMROUTESZ]; /* corresponding node */
char balancer[BALANCERSZ]; /* name of the balancer */
- unsigned long updatetime; /* time of last received message */
+ apr_time_t updatetime; /* time of last received message */
int id; /* id in table */
};
typedef struct domaininfo domaininfo_t;
Modified: trunk/mod_cluster/native/include/host.h
===================================================================
--- trunk/mod_cluster/native/include/host.h 2009-07-27 07:16:29 UTC (rev 2509)
+++ trunk/mod_cluster/native/include/host.h 2009-07-27 07:28:26 UTC (rev 2510)
@@ -52,7 +52,7 @@
int vhost; /* id of the correspond virtual host */
int node; /* id of the node containing the virtual host */
- unsigned long updatetime; /* time of last received message */
+ apr_time_t updatetime; /* time of last received message */
int id; /* id in table */
};
typedef struct hostinfo hostinfo_t;
Modified: trunk/mod_cluster/native/include/sessionid.h
===================================================================
--- trunk/mod_cluster/native/include/sessionid.h 2009-07-27 07:16:29 UTC (rev 2509)
+++ trunk/mod_cluster/native/include/sessionid.h 2009-07-27 07:28:26 UTC (rev 2510)
@@ -51,7 +51,7 @@
char sessionid[SESSIONIDSZ]; /* Sessionid value */
char JVMRoute[JVMROUTESZ]; /* corresponding node */
- unsigned long updatetime; /* time of last received message */
+ apr_time_t updatetime; /* time of last received message */
int id; /* id in table */
};
typedef struct sessionidinfo sessionidinfo_t;