| 1 | /* Hacky parallelism |
| 2 | * We fork, and return false ! |
| 3 | */ |
| 4 | /* |
| 5 | * This file is part of secnet. |
| 6 | * See README for full list of copyright holders. |
| 7 | * |
| 8 | * secnet is free software; you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 3 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * secnet is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | * General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * version 3 along with secnet; if not, see |
| 20 | * https://www.gnu.org/licenses/gpl.html. |
| 21 | */ |
| 22 | |
| 23 | #ifndef hackympzpar_h |
| 24 | #define hackympzpar_h |
| 25 | |
| 26 | struct site; |
| 27 | |
| 28 | int hacky_par_start_failnow(void); |
| 29 | int hacky_par_mid_failnow(void); |
| 30 | void hacky_par_end(int *ok, |
| 31 | int32_t retries, int32_t timeout, |
| 32 | bool_t (*send_msg)(struct site *st), struct site *st); |
| 33 | |
| 34 | #endif /* hackympzpar_h */ |