1 /* @(#)wm_session.c 1.8 09/07/10 Copyright 1995, 1997, 2001-2009 J. Schilling */ 2 #include <schily/mconfig.h> 3 #ifndef lint 4 static UConst char sccsid[] = 5 "@(#)wm_session.c 1.8 09/07/10 Copyright 1995, 1997, 2001-2009 J. Schilling"; 6 #endif 7 /* 8 * CDR write method abtraction layer 9 * session at once / disk at once writing intercace routines 10 * 11 * Copyright (c) 1995, 1997, 2001-2009 J. Schilling 12 */ 13 /* 14 * The contents of this file are subject to the terms of the 15 * Common Development and Distribution License, Version 1.0 only 16 * (the "License"). You may not use this file except in compliance 17 * with the License. 18 * 19 * See the file CDDL.Schily.txt in this distribution for details. 20 * A copy of the CDDL is also available via the Internet at 21 * http://www.opensource.org/licenses/cddl1.txt 22 * 23 * When distributing Covered Code, include this CDDL HEADER in each 24 * file and include the License file CDDL.Schily.txt from this distribution. 25 */ 26 27 #include <schily/mconfig.h> 28 #include <schily/stdio.h> 29 #include <schily/stdlib.h> 30 #include <schily/unistd.h> 31 #include <schily/standard.h> 32 #include <schily/utypes.h> 33 34 #include <scg/scsitransp.h> 35 #include "cdrecord.h" 36 37 extern int debug; 38 extern int verbose; 39 extern int lverbose; 40 41 extern char *buf; /* The transfer buffer */ 42 43 EXPORT int write_session_data __PR((SCSI *scgp, cdr_t *dp, track_t *trackp)); 44