client_authentication.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /* Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; version 2 of the License.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License
  10. along with this program; if not, write to the Free Software
  11. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  12. #ifndef CLIENT_AUTHENTICATION_H
  13. #define CLIENT_AUTHENTICATION_H
  14. #include <my_global.h>
  15. #include "mysql.h"
  16. #include "mysql/client_plugin.h"
  17. C_MODE_START
  18. int sha256_password_auth_client(MYSQL_PLUGIN_VIO *vio, MYSQL *mysql);
  19. int sha256_password_init(char *, size_t, int, va_list);
  20. int sha256_password_deinit(void);
  21. C_MODE_END
  22. #endif