make --serial-number or the default random serial number apply only to the first...
[platform/upstream/flac.git] / src / flac / encode.h
index a74dbb5..1f7e5a2 100644 (file)
@@ -1,5 +1,5 @@
 /* flac - Command-line FLAC encoder/decoder
- * Copyright (C) 2000,2001,2002  Josh Coalson
+ * Copyright (C) 2000,2001,2002,2003,2004  Josh Coalson
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -20,6 +20,7 @@
 #define flac__encode_h
 
 #include "FLAC/metadata.h"
+#include "utils.h"
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 
 typedef struct {
        FLAC__bool verbose;
-       FLAC__uint64 skip;
+       utils__SkipUntilSpecification skip_specification;
+       utils__SkipUntilSpecification until_specification;
        FLAC__bool verify;
 #ifdef FLAC__HAS_OGG
        FLAC__bool use_ogg;
-       FLAC__bool has_serial_number;
        long serial_number;
 #endif
        FLAC__bool lax;
@@ -49,6 +50,8 @@ typedef struct {
        int padding;
        char *requested_seek_points;
        int num_requested_seek_points;
+       const char *cuesheet_filename;
+       FLAC__bool cued_seekpoints;
 
        /* options related to --replay-gain and --sector-align */
        FLAC__bool is_first_file;