1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

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

svn path=/trunk/icecast/; revision=4309
This commit is contained in:
oddsock 2003-02-02 14:25:53 +00:00
parent 6e16b1cca2
commit a3dfee72e0
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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__ */