]> git.sesse.net Git - vlc/blobdiff - include/vlc_httpd.h
Partial rewrite of stats to avoid lookups (Closes:#693)
[vlc] / include / vlc_httpd.h
index ab3bb02c4fa5852852e42f3edaeeb612cfdde3f7..862f749cc22f794a6a50a53ce6e68feae6ce34f4 100644 (file)
@@ -77,6 +77,10 @@ struct httpd_host_t
     int         i_port;
     int         *fd;
 
+    /* Statistics */
+    counter_t *p_active_counter;
+    counter_t *p_total_counter;
+
     vlc_mutex_t lock;
 
     /* all registered url (becarefull that 2 httpd_url_t could point at the same url)