LP#1485371: Use client-supplied TZ
[opensrf-equinox.git] / include / opensrf / osrf_app_session.h
index f0e2586..57d9092 100644 (file)
@@ -74,6 +74,9 @@ struct osrf_app_session_struct {
        /** the current locale for this session. **/
        char* session_locale;
 
+       /** the current TZ for this session. **/
+       char* session_tz;
+
        /** let the user use the session to store their own session data. */
        void* userData;
 
@@ -105,6 +108,8 @@ osrfAppSession* osrf_app_server_session_init(
 
 char* osrf_app_session_set_locale( osrfAppSession*, const char* );
 
+char* osrf_app_session_set_tz( osrfAppSession*, const char* );
+
 /* ingress used by all sessions until replaced */
 char* osrfAppSessionSetIngress( const char* );