Commit ef397067 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(access_perm): const qualifiers added to some arguments.

(is_supervisor): Likewise.
(is_strictly_supervisor): Likewise.
(locate_membership): Likewise.
parent 3a1da42c
/* /*
* $Id: manipulate.h,v 0.27 1999/07/05 21:14:58 ceder Exp $ * $Id: manipulate.h,v 0.28 2000/09/02 19:47:56 ceder Exp $
* Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association. * Copyright (C) 1991-1994, 1996-1999 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: manipulate.h,v 0.27 1999/07/05 21:14:58 ceder Exp $ * $Id: manipulate.h,v 0.28 2000/09/02 19:47:56 ceder Exp $
* *
* manipulate.h * manipulate.h
* *
...@@ -211,8 +211,8 @@ typedef enum { ...@@ -211,8 +211,8 @@ typedef enum {
calling this function, since that might speed upp the processing calling this function, since that might speed upp the processing
considerably. */ considerably. */
extern Access extern Access
access_perm(Conf_no victim, access_perm(Conf_no victim,
Connection *viewer_conn, const Connection *viewer_conn,
Access wanted_access); Access wanted_access);
...@@ -240,14 +240,14 @@ locate_member(Pers_no pers_no, ...@@ -240,14 +240,14 @@ locate_member(Pers_no pers_no,
*/ */
extern Bool extern Bool
is_supervisor(Conf_no conf, is_supervisor(Conf_no conf,
Pers_no viewer, Pers_no viewer,
Person * viewer_p); /* May be NULL */ const Person *viewer_p); /* May be NULL */
extern Bool extern 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 */
/* /*
...@@ -293,8 +293,8 @@ do_set_etc_motd(Conf_no conf_no, ...@@ -293,8 +293,8 @@ do_set_etc_motd(Conf_no conf_no,
*/ */
extern Membership * extern Membership *
locate_membership(Conf_no conf_no, locate_membership(Conf_no conf_no,
Person * pers_p); const Person *pers_p);
/* /*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment