anastasis-gtk_pe.h (1549B)
1 /* 2 This file is part of anastasis-gtk. 3 Copyright (C) 2021 Anastasis SARL 4 5 Anastasis is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published 7 by the Free Software Foundation; either version 3, or (at your 8 option) any later version. 9 10 Anastasis is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Anastasis; see the file COPYING. If not, write to the 17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301, USA. 19 */ 20 21 /** 22 * @file src/anastasis/anastasis-gtk_pe.h 23 * @brief Subsystem to handle policy editing 24 * @author Christian Grothoff 25 */ 26 #ifndef ANASTASIS_GTK_PE_H 27 #define ANASTASIS_GTK_PE_H 28 29 /** 30 * Delete a challenge at @a mindex in the policy 31 * at @a pindex. 32 * 33 * @param pindex policy to edit 34 * @param mindex challenge index to remove 35 */ 36 void 37 AG_delete_challenge (guint pindex, 38 guint mindex); 39 40 41 /** 42 * Delete a policy at @a pindex. 43 * 44 * @param pindex index of policy to remove 45 */ 46 void 47 AG_delete_policy (guint pindex); 48 49 50 /** 51 * Edit policy at @a pindex. 52 * 53 * @param pindex index of policy to edit 54 */ 55 void 56 AG_edit_policy (guint pindex); 57 58 59 /** 60 * Add a new policy. 61 */ 62 void 63 AG_add_policy (void); 64 65 66 #endif