1 /* 2 * cancel-info.h 3 * 4 * 5 * Authors: 6 * Michi <st101564@stud.uni-stuttgart.de> 7 * 8 * Web page: https://ahoi.io/project/oregano 9 * 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License as 13 * published by the Free Software Foundation; either version 2 of the 14 * License, or (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 * General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public 22 * License along with this program; if not, write to the 23 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 24 * Boston, MA 02110-1301, USA. 25 */ 26 27 #ifndef TOOLS_CANCEL_INFO_H_ 28 #define TOOLS_CANCEL_INFO_H_ 29 30 typedef struct _CancelInfo CancelInfo; 31 32 CancelInfo *cancel_info_new(); 33 void cancel_info_subscribe(CancelInfo *info); 34 void cancel_info_unsubscribe(CancelInfo *info); 35 gboolean cancel_info_is_cancel(CancelInfo *info); 36 void cancel_info_set_cancel(CancelInfo *info); 37 38 #endif /* TOOLS_CANCEL_INFO_H_ */ 39