Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0d44f694
Commit
0d44f694
authored
Jul 24, 2003
by
Per Cederqvist
Browse files
(prot_a_output_stats_description): New function.
parent
ae175406
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/server/prot-a-output.c
View file @
0d44f694
/*
* $Id: prot-a-output.c,v 0.6
1
2003/07/
12 22:26:3
3 ceder Exp $
* $Id: prot-a-output.c,v 0.6
2
2003/07/
24 08:37:5
3 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -1103,6 +1103,27 @@ prot_a_output_text_mapping(Connection *fp,
}
}
void
prot_a_output_stats_description
(
Connection
*
fp
,
Stats_description
*
result
)
{
int
i
;
prot_a_output_ul
(
fp
,
result
->
no_of_stats
);
if
(
result
->
no_of_stats
==
0
)
isc_puts
(
" *"
,
fp
->
isc_session
);
else
{
isc_puts
(
" {"
,
fp
->
isc_session
);
for
(
i
=
0
;
i
<
result
->
no_of_stats
;
i
++
)
prot_a_output_string
(
fp
,
result
->
stat_names
[
i
]);
isc_puts
(
" }"
,
fp
->
isc_session
);
}
prot_a_output_num_list
(
fp
,
&
result
->
intervals
);
}
#ifdef DEBUG_CALLS
void
...
...
src/server/prot-a-output.h
View file @
0d44f694
/*
* $Id: prot-a-output.h,v 0.
29
200
2/12/30 14:09:44
ceder Exp $
* $Id: prot-a-output.h,v 0.
30
200
3/07/24 08:37:50
ceder Exp $
* Copyright (C) 1991-1992, 1994-1999, 2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: prot-a-output.h,v 0.
29
200
2/12/30 14:09:44
ceder Exp $
* $Id: prot-a-output.h,v 0.
30
200
3/07/24 08:37:50
ceder Exp $
*
*/
extern
void
...
...
@@ -227,6 +227,10 @@ void
prot_a_output_text_mapping
(
Connection
*
fp
,
Text_mapping
*
result
);
void
prot_a_output_stats_description
(
Connection
*
fp
,
Stats_description
*
result
);
#ifdef DEBUG_CALLS
void
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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