[xiph-cvs] cvs commit: icecast/src stats.c stats.h

Ed oddsock at xiph.org
Sun Feb 2 06:25:53 PST 2003



oddsock     03/02/02 09:25:53

  Modified:    src      stats.c stats.h
  Log:
  added function for retrieving specific stat values (for use by yp routines)

Revision  Changes    Path
1.23      +4 -0      icecast/src/stats.c

Index: stats.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/stats.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- stats.c	29 Dec 2002 15:46:32 -0000	1.22
+++ stats.c	2 Feb 2003 14:25:53 -0000	1.23
@@ -201,6 +201,10 @@
         return value;
 }
 
+char *stats_get_value(char *source, char *name)
+{
+	return(_get_stats(source, name));
+}
 void stats_event_inc(char *source, char *name)
 {
         char *old_value;

<p><p>1.5       +1 -0      icecast/src/stats.h

Index: stats.h
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/stats.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- stats.h	9 Aug 2002 06:52:07 -0000	1.4
+++ stats.h	2 Feb 2003 14:25:53 -0000	1.5
@@ -77,6 +77,7 @@
 void stats_transform_xslt(client_t *client, char *xslpath);
 void stats_sendxml(client_t *client);
 void stats_get_xml(xmlDocPtr *doc);
+char *stats_get_value(char *source, char *name);
 
 #endif  /* __STATS_H__ */
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list