Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
102
Issues
102
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
a3dfee72
Commit
a3dfee72
authored
Feb 02, 2003
by
Ed "oddsock" Zaleski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/stats.c
src/stats.c
+4
-0
src/stats.h
src/stats.h
+1
-0
No files found.
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
Markdown
is supported
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