diff options
Diffstat (limited to 'src/script/script_scanner.hpp')
-rw-r--r-- | src/script/script_scanner.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/script/script_scanner.hpp b/src/script/script_scanner.hpp index 1518dbe59..792d36bae 100644 --- a/src/script/script_scanner.hpp +++ b/src/script/script_scanner.hpp @@ -69,6 +69,14 @@ public: */ bool HasScript(const struct ContentInfo *ci, bool md5sum); + /** + * Find a script of a #ContentInfo + * @param ci The information to compare to. + * @param md5sum Whether to check the MD5 checksum. + * @return A filename of a file of the content, else \c NULL. + */ + const char *FindMainScript(const ContentInfo *ci, bool md5sum); + /* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename); /** |