summaryrefslogtreecommitdiff
path: root/src/utils/fuzzer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-28 14:43:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-29 00:18:56 +0300
commit482cbfc4e1299434a6f632fe7f4b4e3704e65e87 (patch)
treea629b12b8a768f8431de0c134990bdbaf98912b3 /src/utils/fuzzer.h
parent72cc5d13430dff4e41c77482eebd9e5e421fe739 (diff)
downloadmanaplus-482cbfc4e1299434a6f632fe7f4b4e3704e65e87.tar.gz
manaplus-482cbfc4e1299434a6f632fe7f4b4e3704e65e87.tar.bz2
manaplus-482cbfc4e1299434a6f632fe7f4b4e3704e65e87.tar.xz
manaplus-482cbfc4e1299434a6f632fe7f4b4e3704e65e87.zip
add file access fuzzer.
Diffstat (limited to 'src/utils/fuzzer.h')
-rw-r--r--src/utils/fuzzer.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/utils/fuzzer.h b/src/utils/fuzzer.h
new file mode 100644
index 000000000..91193901d
--- /dev/null
+++ b/src/utils/fuzzer.h
@@ -0,0 +1,34 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2013 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef UTILS_FUZZER_H
+#define UTILS_FUZZER_H
+
+#include "localconsts.h"
+
+#ifdef USE_FUZZER
+namespace Fuzzer
+{
+ void init();
+ bool conditionTerminate(const char *const name);
+} // namespace Fuzzer
+
+#endif // USE_FUZZER
+#endif // UTILS_FUZZER_H