]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/workq.h
Fix header file includes.
[bacula/bacula] / bacula / src / lib / workq.h
index d0a8443482384450ff9c1d6cc0ab55e864b16c23..2c4c11d27e0f689aaa9e9998466b13d13a2b8f8a 100644 (file)
 
  */
 
-#ifndef __WORKQ_H 
+#ifndef __WORKQ_H
 #define __WORKQ_H 1
 
-/* 
+/*
  * Structure to keep track of work queue request
  */
 typedef struct workq_ele_tag {
@@ -40,7 +40,7 @@ typedef struct workq_ele_tag {
    void                 *data;
 } workq_ele_t;
 
-/* 
+/*
  * Structure describing a work queue
  */
 typedef struct workq_tag {
@@ -59,10 +59,10 @@ typedef struct workq_tag {
 #define WORKQ_VALID  0xdec1992
 
 extern int workq_init(
-              workq_t *wq,
-              int     threads,        /* maximum threads */
-              void   *(*engine)(void *)   /* engine routine */
-                    );
+             workq_t *wq,
+             int     threads,        /* maximum threads */
+             void   *(*engine)(void *)   /* engine routine */
+                   );
 extern int workq_destroy(workq_t *wq);
 extern int workq_add(workq_t *wq, void *element, workq_ele_t **work_item, int priority);
 extern int workq_remove(workq_t *wq, workq_ele_t *work_item);