apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1767894 - in /apr/apr-util/branches/1.6.x: include/apr_redis.h redis/apr_redis.c
Date Thu, 03 Nov 2016 14:39:39 GMT
Author: jim
Date: Thu Nov  3 14:39:39 2016
New Revision: 1767894

URL: http://svn.apache.org/viewvc?rev=1767894&view=rev
Log:
Another placeholder

Modified:
    apr/apr-util/branches/1.6.x/include/apr_redis.h
    apr/apr-util/branches/1.6.x/redis/apr_redis.c

Modified: apr/apr-util/branches/1.6.x/include/apr_redis.h
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/include/apr_redis.h?rev=1767894&r1=1767893&r2=1767894&view=diff
==============================================================================
--- apr/apr-util/branches/1.6.x/include/apr_redis.h (original)
+++ apr/apr-util/branches/1.6.x/include/apr_redis.h Thu Nov  3 14:39:39 2016
@@ -413,6 +413,16 @@ typedef struct
     apr_uint32_t threads; 
 } apr_redis_stats_t;
 
+/**
+ * Query a server for statistics
+ * @param rs    server to query
+ * @param p     Pool to allocate answer from
+ * @param stats location of the new statistics structure
+ */
+APU_DECLARE(apr_status_t) apr_redis_stats(apr_redis_server_t *rs,
+                                          apr_pool_t *p,
+                                          apr_redis_stats_t **stats);
+
 /** @} */
 
 #ifdef __cplusplus

Modified: apr/apr-util/branches/1.6.x/redis/apr_redis.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.6.x/redis/apr_redis.c?rev=1767894&r1=1767893&r2=1767894&view=diff
==============================================================================
--- apr/apr-util/branches/1.6.x/redis/apr_redis.c (original)
+++ apr/apr-util/branches/1.6.x/redis/apr_redis.c Thu Nov  3 14:39:39 2016
@@ -1349,3 +1349,11 @@ apr_redis_multgetp(apr_redis_t *rc,
 {
     return APR_ENOTIMPL;
 }
+
+APU_DECLARE(apr_status_t)
+apr_redis_stats(apr_redis_server_t *rs,
+                apr_pool_t *p,
+                apr_redis_stats_t **stats)
+{
+    return APR_ENOTIMPL;
+}



Mime
View raw message