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:
parent
6e16b1cca2
commit
a3dfee72e0
@ -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__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user