discrecutils/dru_burning.h

/*
    dru_burning.h
    
    Part of the Disc Recording Utility sources for command-line tools.  This
    code provides an example of prompting the user to select a device and/or
    insert media, and how to create a textual description of a device.
*/
 
#ifndef _H_dru_burning
#define _H_dru_burning
 
#include <DiscRecording/DiscRecording.h>
 
#ifdef __cplusplus
extern "C" {
#endif
 
/* Handles an entire burn, including progress and error reporting.  Returns true if successful. */
int         druBurn(DRBurnRef burn, CFTypeRef layout);
 
/* Prints a localized failure message. */
void        druPrintFailureMessage(const char *task, CFDictionaryRef status);
 
 
/* Handles an entire erase, including progress and error reporting.  Returns true if successful. */
int         druErase(DRDeviceRef device, int fullErase);
 
#ifdef __cplusplus
}
#endif
 
#endif /* _H_dru_burning */