Obsoleted libburn/message.[ch]

This commit is contained in:
Thomas Schmitt 2006-09-24 20:25:54 +00:00
parent f810d3ee05
commit d6e21aa0d6
4 changed files with 29 additions and 2 deletions

View File

@ -28,8 +28,6 @@ libburn_libburn_la_SOURCES = \
libburn/libburn.h \ libburn/libburn.h \
libburn/libdax_msgs.h \ libburn/libdax_msgs.h \
libburn/libdax_msgs.c \ libburn/libdax_msgs.c \
libburn/message.c \
libburn/message.h \
libburn/mmc.c \ libburn/mmc.c \
libburn/mmc.h \ libburn/mmc.h \
libburn/null.c \ libburn/null.c \
@ -59,6 +57,11 @@ libburn_libburn_la_SOURCES = \
libburn/write.h \ libburn/write.h \
version.h version.h
## ts A60924 : Obsoleted
## libburn/message.c \
## libburn/message.h \
libisofs_libisofs_la_LDFLAGS = \ libisofs_libisofs_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libisofs_libisofs_la_SOURCES = \ libisofs_libisofs_la_SOURCES = \

View File

@ -296,7 +296,9 @@ void burn_wait_all(void)
void burn_disc_erase_sync(struct burn_drive *d, int fast) void burn_disc_erase_sync(struct burn_drive *d, int fast)
{ {
/* ts A60924 : libburn/message.c gets obsoleted
burn_message_clear_queue(); burn_message_clear_queue();
*/
burn_print(1, "erasing drive %s %s\n", d->idata->vendor, burn_print(1, "erasing drive %s %s\n", d->idata->vendor,
d->idata->product); d->idata->product);

View File

@ -175,6 +175,10 @@ enum burn_disc_status
BURN_DISC_FULL BURN_DISC_FULL
}; };
/* ts A60924 : libburn/message.c gets obsoleted */
#ifdef BURN_WITH_OBSOLETED_MESSAGE_C
/** Possible types of messages form the library. */ /** Possible types of messages form the library. */
enum burn_message_type enum burn_message_type
{ {
@ -206,6 +210,9 @@ enum burn_message_error
BURN_ERROR_CANCELLED BURN_ERROR_CANCELLED
}; };
#endif /* BURN_WITH_OBSOLETED_MESSAGE_C */
/** Possible data source return values */ /** Possible data source return values */
enum burn_source_status enum burn_source_status
{ {
@ -378,6 +385,10 @@ struct burn_drive_info
struct burn_drive *drive; struct burn_drive *drive;
}; };
/* ts A60924 : libburn/message.c gets obsoleted */
#ifdef BURN_WITH_OBSOLETED_MESSAGE_C
/** Messages from the library */ /** Messages from the library */
struct burn_message struct burn_message
{ {
@ -402,6 +413,10 @@ struct burn_message
} detail; } detail;
}; };
#endif /* BURN_WITH_OBSOLETED_MESSAGE_C */
/** Operation progress report. All values are 0 based indices. /** Operation progress report. All values are 0 based indices.
* */ * */
struct burn_progress { struct burn_progress {
@ -470,6 +485,9 @@ void burn_set_verbosity(int level);
*/ */
void burn_preset_device_open(int exclusive, int blocking, int abort_on_busy); void burn_preset_device_open(int exclusive, int blocking, int abort_on_busy);
/* ts A60924 : libburn/message.c gets obsoleted */
#ifdef BURN_WITH_OBSOLETED_MESSAGE_C
/** Returns a newly allocated burn_message structure. This message should be /** Returns a newly allocated burn_message structure. This message should be
freed with burn_message_free() when you are finished with it. freed with burn_message_free() when you are finished with it.
@return A message or NULL when there are no more messages to retrieve. @return A message or NULL when there are no more messages to retrieve.
@ -479,6 +497,8 @@ struct burn_message* burn_get_message(void);
/** Frees a burn_message structure */ /** Frees a burn_message structure */
void burn_message_free(struct burn_message *msg); void burn_message_free(struct burn_message *msg);
#endif /* BURN_WITH_OBSOLETED_MESSAGE_C */
/* ts A60823 */ /* ts A60823 */
/** Aquire a drive with known persistent address.This is the sysadmin friendly /** Aquire a drive with known persistent address.This is the sysadmin friendly

View File

@ -448,7 +448,9 @@ void burn_disc_write_sync(struct burn_write_opts *o, struct burn_disc *disc)
int first = 1, i; int first = 1, i;
int res; int res;
/* ts A60924 : libburn/message.c gets obsoleted
burn_message_clear_queue(); burn_message_clear_queue();
*/
burn_print(1, "sync write of %d sessions\n", disc->sessions); burn_print(1, "sync write of %d sessions\n", disc->sessions);
d->buffer = &buf; d->buffer = &buf;