X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=blobdiff_plain;f=hackypar.h;h=2f378d304f2d9aefe61d5ed92442456a31ee48be;hp=fbbff3c58745a361f7378a51728319169a3c6bba;hb=9c6a8729f6553615786878b382d4d44d2a54eec0;hpb=3b83c93292fbf6c4e859ce513bdf54ad90733f96 diff --git a/hackypar.h b/hackypar.h index fbbff3c..2f378d3 100644 --- a/hackypar.h +++ b/hackypar.h @@ -1,7 +1,24 @@ /* Hacky parallelism - * Ian Jackson * We fork, and return false ! */ +/* + * This file is part of secnet. + * See README for full list of copyright holders. + * + * secnet is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * secnet is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * version 3 along with secnet; if not, see + * https://www.gnu.org/licenses/gpl.html. + */ #ifndef hackympzpar_h #define hackympzpar_h @@ -11,7 +28,7 @@ struct site; int hacky_par_start_failnow(void); int hacky_par_mid_failnow(void); void hacky_par_end(int *ok, - uint32_t retries, uint32_t timeout, + int32_t retries, int32_t timeout, bool_t (*send_msg)(struct site *st), struct site *st); #endif /* hackympzpar_h */