"Fossies" - the Fresh Open Source Software Archive

Member "xorriso-1.5.4/libburn/async.h" (30 Jan 2021, 809 Bytes) of package /linux/misc/xorriso-1.5.4.pl02.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "async.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.4.6_vs_1.4.8.

    1 /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
    2 
    3 /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
    4    Copyright (c) 2006 - 2017 Thomas Schmitt <scdbackup@gmx.net>
    5    Provided under GPL version 2 or later.
    6 */
    7 
    8 #ifndef BURN__ASYNC_H
    9 #define BURN__ASYNC_H
   10 
   11 void burn_async_join_all(void);
   12 struct burn_write_opts;
   13 
   14 /* ts A70930 */
   15 /* To be called when the first read() call comes to a fifo */
   16 int burn_fifo_start(struct burn_source *source, int flag);
   17 
   18 /* ts A81108 */
   19 /* To abort a running fifo thread before the fifo object gets deleted */
   20 int burn_fifo_abort(struct burn_source_fifo *fs, int flag);
   21 
   22 /* ts B70126 */
   23 #define BURN_ASYNC_LOCK_RELEASE 0
   24 #define BURN_ASYNC_LOCK_OBTAIN  1
   25 #define BURN_ASYNC_LOCK_INIT    2
   26 int burn_async_manage_lock(int mode);
   27 
   28 #endif /* BURN__ASYNC_H */