summaryrefslogtreecommitdiffstats
path: root/core/Work.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/Work.h')
-rw-r--r--core/Work.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/Work.h b/core/Work.h
new file mode 100644
index 000000000..8d3cfba15
--- /dev/null
+++ b/core/Work.h
@@ -0,0 +1,27 @@
+/* $Id: Work.h,v 1.1 2003/11/03 12:08:01 titer Exp $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.m0k.org/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#ifndef HB_WORK_H
+#define HB_WORK_H
+
+#include "HandBrakeInternal.h"
+
+#define HB_WORK_COMMON_MEMBERS \
+ char * name; \
+ HBLock * lock; \
+ int used; \
+ uint64_t time; \
+ int (*work) ( HBWork * );
+
+void HBWorkLock( HBWork * );
+void HBWorkWork( HBWork * );
+void HBWorkUnlock( HBWork * );
+
+HBWorkThread * HBWorkThreadInit( HBHandle *, HBTitle *, HBAudio *,
+ HBAudio *, int firstThread );
+void HBWorkThreadClose( HBWorkThread ** );
+
+#endif