|
|
|
@ -47,7 +47,6 @@
|
|
|
|
#define FILE_STORED BIT_U16(11)
|
|
|
|
#define FILE_STORED BIT_U16(11)
|
|
|
|
#define FILE_NOTRACK BIT_U16(12) /**< track size of file */
|
|
|
|
#define FILE_NOTRACK BIT_U16(12) /**< track size of file */
|
|
|
|
#define FILE_USE_DETECT BIT_U16(13) /**< use content_inspected tracker */
|
|
|
|
#define FILE_USE_DETECT BIT_U16(13) /**< use content_inspected tracker */
|
|
|
|
#define FILE_USE_TRACKID BIT_U16(14) /**< File::file_track_id field is in use */
|
|
|
|
|
|
|
|
#define FILE_HAS_GAPS BIT_U16(15)
|
|
|
|
#define FILE_HAS_GAPS BIT_U16(15)
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum FileState_ {
|
|
|
|
typedef enum FileState_ {
|
|
|
|
@ -67,8 +66,7 @@ typedef struct File_ {
|
|
|
|
FileState state;
|
|
|
|
FileState state;
|
|
|
|
StreamingBuffer *sb;
|
|
|
|
StreamingBuffer *sb;
|
|
|
|
uint64_t txid; /**< tx this file is part of */
|
|
|
|
uint64_t txid; /**< tx this file is part of */
|
|
|
|
uint32_t file_track_id; /**< id used by protocol parser. Optional
|
|
|
|
uint32_t file_track_id; /**< id used by protocol parser */
|
|
|
|
* only used if FILE_USE_TRACKID flag set */
|
|
|
|
|
|
|
|
uint32_t file_store_id; /**< id used in store file name file.<id> */
|
|
|
|
uint32_t file_store_id; /**< id used in store file name file.<id> */
|
|
|
|
int fd; /**< file descriptor for filestore, not
|
|
|
|
int fd; /**< file descriptor for filestore, not
|
|
|
|
open if equal to -1 */
|
|
|
|
open if equal to -1 */
|
|
|
|
|