You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/include/MySQL_Authentication.hpp

25 lines
739 B

#ifndef __CLASS_MYSQL_AUTHENTICATION_H
#define __CLASS_MYSQL_AUTHENTICATION_H
#include "proxysql.h"
#include "cpp.h"
class MySQL_Authentication {
public:
MySQL_Authentication() {};
virtual ~MySQL_Authentication() {};
virtual bool add(char *, char *, char *) { return false; };
virtual bool del(char *, char *) { return false; };
// virtual bool reset(unsigned char *) { return false; };
virtual bool reset() { return false; };
// virtual bool refresh() { return false; };
virtual void print_version() {};
virtual char * lookup(char *, char *) {return NULL; };
};
typedef MySQL_Authentication * create_MySQL_Authentication_t();
typedef void destroy_MyAuth_t(MySQL_Authentication *);
#endif /* __CLASS_MYSQL_AUTHENTICATION_H */