file: sync file and tx id types

pull/1788/head
Victor Julien 10 years ago
parent a74a8c874f
commit 006cd5ae36

@ -873,7 +873,7 @@ void FileDisableStoringForTransaction(Flow *f, uint8_t direction, uint64_t tx_id
* \param fc file store
* \param file_id the file's id
*/
void FileStoreFileById(FileContainer *fc, uint16_t file_id)
void FileStoreFileById(FileContainer *fc, uint32_t file_id)
{
File *ptr = NULL;
@ -888,7 +888,7 @@ void FileStoreFileById(FileContainer *fc, uint16_t file_id)
}
}
void FileStoreAllFilesForTx(FileContainer *fc, uint16_t tx_id)
void FileStoreAllFilesForTx(FileContainer *fc, uint64_t tx_id)
{
File *ptr = NULL;

@ -62,7 +62,7 @@ typedef struct FileData_ {
typedef struct File_ {
uint16_t flags;
uint64_t txid; /**< tx this file is part of */
unsigned int file_id;
uint32_t file_id;
uint8_t *name;
uint16_t name_len;
int16_t state;
@ -169,7 +169,7 @@ void FileDisableFilesize(Flow *f, uint8_t direction);
*/
void FileDisableStoringForTransaction(Flow *f, uint8_t direction, uint64_t tx_id);
void FlowFileDisableStoringForTransaction(struct Flow_ *f, uint16_t tx_id);
void FlowFileDisableStoringForTransaction(struct Flow_ *f, uint64_t tx_id);
void FilePrune(FileContainer *ffc);
@ -184,8 +184,8 @@ int FileForceMd5(void);
void FileForceTrackingEnable(void);
void FileStoreAllFiles(FileContainer *);
void FileStoreAllFilesForTx(FileContainer *, uint16_t);
void FileStoreFileById(FileContainer *fc, uint16_t);
void FileStoreAllFilesForTx(FileContainer *, uint64_t);
void FileStoreFileById(FileContainer *fc, uint32_t);
void FileTruncateAllOpenFiles(FileContainer *);

Loading…
Cancel
Save