Commit a3dfee72 authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

added function for retrieving specific stat values (for use by yp routines)

svn path=/trunk/icecast/; revision=4309
parent 6e16b1cc
......@@ -201,6 +201,10 @@ static char *_get_stats(char *source, char *name)
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;
......
......@@ -77,6 +77,7 @@ void *stats_callback(void *arg);
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__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment