X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2196a3a0cdc5384c082febb7f4aa5994cc7d80db..ebd170a764ab9660adee464588cda1801c7986b4:/projects/stargazer/plugins/other/radius/radius.h?ds=sidebyside diff --git a/projects/stargazer/plugins/other/radius/radius.h b/projects/stargazer/plugins/other/radius/radius.h new file mode 100644 index 00000000..4cc84e26 --- /dev/null +++ b/projects/stargazer/plugins/other/radius/radius.h @@ -0,0 +1,30 @@ +#pragma once + +#include "stg/auth.h" +#include + +namespace STG +{ + class RADIUS : public Auth + { + public: + RADIUS(); + + int Start() override { return 0; } + int Stop() override { return 0; } + int Reload(const ModuleSettings & /*ms*/) override { return 0; } + bool IsRunning() override { return isRunning; } + int ParseSettings() override { return 0; } + const std::string & GetStrError() const override { return errorStr; } + std::string GetVersion() const override; + uint16_t GetStartPosition() const override { return 0; } + uint16_t GetStopPosition() const override { return 0; } + + int SendMessage(const Message & msg, uint32_t ip) const override { return 0; } + + private: + mutable std::string errorStr; + bool isRunning; + + }; +}