Commit 9064e92d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use ``enum access'' instead of ``Access''.

(enum access): Removed ``Access'' typedef.  (Bug 335).
parent 1303d4ac
/*
* $Id: manipulate.h,v 0.31 2001/12/28 19:04:52 ceder Exp $
* $Id: manipulate.h,v 0.32 2001/12/28 20:00:18 ceder Exp $
* Copyright (C) 1991-1994, 1996-2000 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.31 2001/12/28 19:04:52 ceder Exp $
* $Id: manipulate.h,v 0.32 2001/12/28 20:00:18 ceder Exp $
*
* manipulate.h
*
......@@ -196,24 +196,24 @@
* data of a given conference.
*/
typedef enum {
enum access {
error, /* The conf doesn't exist or other error. */
none, /* A secret conference. */
read_protected, /* An rd_prot conference. */
limited, /* An open conference. */
member, /* ACTPERS is a member of the conference. */
unlimited /* ACTPERS is supervisor of the conference. */
} Access;
};
/* Return the highest access level that viewer_conn has to victim, but
don't bother checking for higher level of access than
wanted_access. Specify as low wanted_access as possible when
calling this function, since that might speed upp the processing
considerably. */
extern Access
extern enum access
access_perm(Conf_no victim,
const Connection *viewer_conn,
Access wanted_access);
enum access wanted_access);
/* Return VICTIM if the user user logged in via VIEWER_CONN is allowed
to see it, or 0 if it is a secret conference that the user isn't
......
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