74
86
int FindFileInfoEntry(DownloadQueue* pDownloadQueue, FileInfo* pFileInfo);
75
87
bool InternEditList(DownloadQueue* pDownloadQueue, IDList* pIDList, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);
76
88
void PrepareList(DownloadQueue* pDownloadQueue, ItemList* pItemList, IDList* pIDList, bool bSmartOrder, EEditAction eAction, int iOffset);
77
bool EditGroup(DownloadQueue* pDownloadQueue, FileInfo* pFileInfo, EEditAction eAction, int iOffset);
89
bool BuildIDListFromNameList(DownloadQueue* pDownloadQueue, IDList* pIDList, NameList* pNameList, EMatchMode eMatchMode, EEditAction eAction);
90
bool EditGroup(DownloadQueue* pDownloadQueue, FileInfo* pFileInfo, EEditAction eAction, int iOffset, const char* szText);
78
91
void BuildGroupList(DownloadQueue* pDownloadQueue, FileList* pGroupList);
79
92
void AlignAffectedGroups(DownloadQueue* pDownloadQueue, IDList* pIDList, bool bSmartOrder, int iOffset);
80
93
bool ItemExists(FileList* pFileList, FileInfo* pFileInfo);
81
void AlignGroup(DownloadQueue* pDownloadQueue, FileInfo* pFirstFileInfo);
94
void AlignGroup(DownloadQueue* pDownloadQueue, NZBInfo* pNZBInfo);
82
95
void PauseParsInGroups(ItemList* pItemList, bool bExtraParsOnly);
83
96
void PausePars(FileList* pFileList, bool bExtraParsOnly);
84
97
void SetNZBCategory(NZBInfo* pNZBInfo, const char* szCategory);
98
void SetNZBName(NZBInfo* pNZBInfo, const char* szName);
85
99
bool CanCleanupDisk(DownloadQueue* pDownloadQueue, NZBInfo* pNZBInfo);
86
void MergeGroups(DownloadQueue* pDownloadQueue, ItemList* pItemList);
100
bool MergeGroups(DownloadQueue* pDownloadQueue, ItemList* pItemList);
101
bool SplitGroup(DownloadQueue* pDownloadQueue, ItemList* pItemList, const char* szName);
102
void ReorderFiles(DownloadQueue* pDownloadQueue, ItemList* pItemList);
87
103
void SetNZBParameter(NZBInfo* pNZBInfo, const char* szParamString);
89
105
void PauseUnpauseEntry(FileInfo* pFileInfo, bool bPause);
90
106
void DeleteEntry(FileInfo* pFileInfo);
91
107
void MoveEntry(DownloadQueue* pDownloadQueue, FileInfo* pFileInfo, int iOffset);
108
void SetPriorityEntry(FileInfo* pFileInfo, const char* szPriority);
97
114
bool EditEntry(int ID, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);
98
bool EditList(IDList* pIDList, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);
115
bool EditList(IDList* pIDList, NameList* pNameList, EMatchMode eMatchMode, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);
100
117
bool LockedEditEntry(DownloadQueue* pDownloadQueue, int ID, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);
101
118
bool LockedEditList(DownloadQueue* pDownloadQueue, IDList* pIDList, bool bSmartOrder, EEditAction eAction, int iOffset, const char* szText);