]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/semlock.h
Strip pathname portion off all message routines that print filename:line.
[bacula/bacula] / bacula / src / lib / semlock.h
index 83c19c809262086038e631fbb28901709c6f7d44..d03904dac8895ec24a3ce78c5ce2ff332721f10a 100644 (file)
@@ -2,7 +2,7 @@
  * Bacula Semaphore code. This code permits setting up
  *  a semaphore that lets through a specified number
  *  of callers simultaneously. Once the number of callers
- *  exceed the limit, they block.      
+ *  exceed the limit, they block.
  *
  *  Kern Sibbald, March MMIII
  *
  *   Version $Id$
  */
 /*
-   Copyright (C) 2000-2003 Kern Sibbald and John Walker
+   Copyright (C) 2000-2006 Kern Sibbald
 
    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.
+   modify it under the terms of the GNU General Public License
+   version 2 as amended with additional clauses defined in the
+   file LICENSE in the main source directory.
 
    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.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
+   the file LICENSE for additional details.
 
  */
 
-#ifndef __SEMLOCK_H 
+#ifndef __SEMLOCK_H
 #define __SEMLOCK_H 1
 
 typedef struct s_semlock_tag {
@@ -49,7 +44,7 @@ typedef struct s_semlock_tag {
    {PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, \
     PTHREAD_COND_INITIALIZER, SEMLOCK_VALID, 0, 0, 0, 0}
 
-/* 
+/*
  * semaphore lock prototypes
  */
 extern int sem_init(semlock_t *sem, int max_active);