Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0d44f694
Commit
0d44f694
authored
Jul 24, 2003
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
(prot_a_output_stats_description): New function.
parent
ae175406
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/server/prot-a-output.c
+22
-1
22 additions, 1 deletion
src/server/prot-a-output.c
src/server/prot-a-output.h
+6
-2
6 additions, 2 deletions
src/server/prot-a-output.h
with
28 additions
and
3 deletions
src/server/prot-a-output.c
+
22
−
1
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.
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -1103,6 +1103,27 @@ prot_a_output_text_mapping(Connection *fp,
...
@@ -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
#ifdef DEBUG_CALLS
void
void
...
...
This diff is collapsed.
Click to expand it.
src/server/prot-a-output.h
+
6
−
2
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.
* Copyright (C) 1991-1992, 1994-1999, 2002 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
* 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
extern
void
...
@@ -227,6 +227,10 @@ void
...
@@ -227,6 +227,10 @@ void
prot_a_output_text_mapping
(
Connection
*
fp
,
prot_a_output_text_mapping
(
Connection
*
fp
,
Text_mapping
*
result
);
Text_mapping
*
result
);
void
prot_a_output_stats_description
(
Connection
*
fp
,
Stats_description
*
result
);
#ifdef DEBUG_CALLS
#ifdef DEBUG_CALLS
void
void
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment