X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Flib%2Fbpipe.h;h=1ed3cf488e89ded12c0bdfbe1a8a9238c165027f;hb=4132c9f33642f579d89700f36caced609d374d51;hp=d01f1823d521f9405ab2e6668263c04dc086e026;hpb=5ff92994cf19da2fc01de499e489529a1ad7a222;p=bacula%2Fbacula diff --git a/bacula/src/lib/bpipe.h b/bacula/src/lib/bpipe.h index d01f1823d5..1ed3cf488e 100644 --- a/bacula/src/lib/bpipe.h +++ b/bacula/src/lib/bpipe.h @@ -1,34 +1,42 @@ -/* - * Bi-directional pipe structure - * - * Version $Id$ - */ - /* - Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker + Bacula® - The Network Backup Solution + + Copyright (C) 2002-2008 Free Software Foundation Europe e.V. - This program 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 2 of - the License, or (at your option) any later version. + The main author of Bacula is Kern Sibbald, with contributions from + many others, a complete list can be found in the file AUTHORS. + This program is Free Software; you can redistribute it and/or + modify it under the terms of version three of the GNU Affero General Public + License as published by the Free Software Foundation and included + in the file LICENSE. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of + This program 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 along with this program; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + You should have received a copy of the GNU Affero General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + Bacula® is a registered trademark of Kern Sibbald. + The licensor of Bacula is the Free Software Foundation Europe + (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, + Switzerland, email:ftf@fsfeurope.org. +*/ +/* + * Bi-directional pipe structure + * + * Version $Id$ */ -typedef struct s_bpipe { - int worker_pid; +class BPIPE { +public: + pid_t worker_pid; time_t worker_stime; int wait; + btimer_t *timer_id; FILE *rfd; FILE *wfd; -} BPIPE; - +};