Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
a3dfee72
Commit
a3dfee72
authored
Feb 02, 2003
by
Ed "oddsock" Zaleski
Browse files
added function for retrieving specific stat values (for use by yp routines)
svn path=/trunk/icecast/; revision=4309
parent
6e16b1cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/stats.c
View file @
a3dfee72
...
...
@@ -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
;
...
...
src/stats.h
View file @
a3dfee72
...
...
@@ -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__ */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment