Commit ef397067 authored by Per Cederqvist's avatar Per Cederqvist

(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.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* 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
*
......@@ -211,8 +211,8 @@ typedef enum {
calling this function, since that might speed upp the processing
considerably. */
extern Access
access_perm(Conf_no victim,
Connection *viewer_conn,
access_perm(Conf_no victim,
const Connection *viewer_conn,
Access wanted_access);
......@@ -240,14 +240,14 @@ locate_member(Pers_no pers_no,
*/
extern Bool
is_supervisor(Conf_no conf,
Pers_no viewer,
Person * viewer_p); /* May be NULL */
is_supervisor(Conf_no conf,
Pers_no viewer,
const Person *viewer_p); /* May be NULL */
extern Bool
is_strictly_supervisor(Conf_no conf,
Pers_no viewer,
Person * viewer_p); /* May be NULL */
is_strictly_supervisor(Conf_no conf,
Pers_no viewer,
const Person *viewer_p); /* May be NULL */
/*
......@@ -293,8 +293,8 @@ do_set_etc_motd(Conf_no conf_no,
*/
extern Membership *
locate_membership(Conf_no conf_no,
Person * pers_p);
locate_membership(Conf_no conf_no,
const Person *pers_p);
/*
......
Markdown is supported
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