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
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
9cbb0181
Commit
9cbb0181
authored
Sep 02, 2000
by
Per Cederqvist
Browse files
(is_supervisor): const qualifiers added to some arguments.
(is_strictly_supervisor): Likewise.
parent
ef397067
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/conference.c
View file @
9cbb0181
/*
/*
* $Id: conference.c,v 0.
59 1999/07/24 23:33
:1
5
ceder Exp $
* $Id: conference.c,v 0.
60 2000/09/02 19:49
:1
3
ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
static
const
char
*
static
const
char
*
rcsid
=
"$Id: conference.c,v 0.
59 1999/07/24 23:33
:1
5
ceder Exp $"
;
rcsid
=
"$Id: conference.c,v 0.
60 2000/09/02 19:49
:1
3
ceder Exp $"
;
#include
"rcs.h"
#include
"rcs.h"
USE
(
rcsid
);
USE
(
rcsid
);
...
@@ -331,7 +331,7 @@ do_create_conf(String name,
...
@@ -331,7 +331,7 @@ do_create_conf(String name,
Bool
Bool
is_supervisor
(
Conf_no
conf
,
is_supervisor
(
Conf_no
conf
,
Pers_no
viewer
,
Pers_no
viewer
,
Person
*
viewer_p
)
const
Person
*
viewer_p
)
{
{
if
(
viewer
==
conf
)
/* A person is ALWAYS supervisor to */
if
(
viewer
==
conf
)
/* A person is ALWAYS supervisor to */
return
TRUE
;
/* his/her own mailbox! */
return
TRUE
;
/* his/her own mailbox! */
...
@@ -341,9 +341,9 @@ is_supervisor(Conf_no conf,
...
@@ -341,9 +341,9 @@ is_supervisor(Conf_no conf,
Bool
Bool
is_strictly_supervisor
(
Conf_no
conf
,
is_strictly_supervisor
(
Conf_no
conf
,
Pers_no
viewer
,
Pers_no
viewer
,
Person
*
viewer_p
)
/* May be NULL */
const
Person
*
viewer_p
)
/* May be NULL */
{
{
Conf_no
supervisor
;
Conf_no
supervisor
;
...
...
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