Commit ee871d2b authored by David Byers's avatar David Byers
Browse files

(struct Aux_item_definition_s): Added owner_delete field.

(check_delete_aux_item_list): Added owner parameter.
parent 91bc86b3
/* /*
* $Id: aux-items.h,v 1.15 2000/09/06 19:54:29 ceder Exp $ * $Id: aux-items.h,v 1.16 2001/09/22 13:41:25 byers Exp $
* Copyright (C) 1994-2000 Lysator Academic Computer Association. * Copyright (C) 1994-2000 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -127,6 +127,7 @@ struct Aux_item_definition_s { ...@@ -127,6 +127,7 @@ struct Aux_item_definition_s {
Bool system_only; Bool system_only;
Bool one_per_person; Bool one_per_person;
Bool may_not_delete; Bool may_not_delete;
Bool owner_delete;
unsigned long inherit_limit; unsigned long inherit_limit;
Bool texts; Bool texts;
short text_a; /* When can we add items of this type */ short text_a; /* When can we add items of this type */
...@@ -264,7 +265,8 @@ commit_aux_item_list(Aux_item_list *list_to_commit); ...@@ -264,7 +265,8 @@ commit_aux_item_list(Aux_item_list *list_to_commit);
* not allowed */ * not allowed */
Success check_delete_aux_item_list(const Number_list *items_to_delete, Success check_delete_aux_item_list(const Number_list *items_to_delete,
const Aux_item_list *list_to_delete_from); const Aux_item_list *list_to_delete_from,
const Conf_no owner);
......
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