X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bd345ea112678f4ed9cfa5132b6ded87ff3c4207..bec5d17c77e9cfc8482ffca062b8f500859bfe34:/tests/testusers.h?ds=inline diff --git a/tests/testusers.h b/tests/testusers.h index d73c8a79..131fb9b6 100644 --- a/tests/testusers.h +++ b/tests/testusers.h @@ -1,6 +1,8 @@ #ifndef __TEST_USERS_H__ #define __TEST_USERS_H__ +#include "stg/users.h" + class TEST_USERS : public USERS { public: TEST_USERS() {} @@ -35,6 +37,7 @@ class TEST_USERS : public USERS { { return -1; } bool IsIPInIndex(uint32_t /*ip*/) const { return false; } bool IsIPInUse(uint32_t, const std::string &, CONST_USER_PTR *) const { return false; } + bool Exists(const std::string &) const { return false; } int OpenSearch() { return 0; } int SearchNext(int /*handle*/, USER_PTR * /*u*/) { return -1; }