MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test_plugin.c File Reference
#include <my_global.h>
#include <mysql/plugin_auth.h>
#include <mysql/client_plugin.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <mysql.h>
Include dependency graph for test_plugin.c:

Go to the source code of this file.

Macros

#define ORDINARY_QUESTION   "\2"
#define LAST_QUESTION   "\3"
#define LAST_PASSWORD   "\4"
#define PASSWORD_QUESTION   "\5"

Functions

 mysql_declare_plugin (test_plugin)
 mysql_declare_client_plugin (AUTHENTICATION)

Variables

 GPL
 NULL
test_plugin_client mysql_end_client_plugin

Detailed Description

Test driver for the mysql-test/t/plugin_auth.test

This is a set of test plugins used to test the external authentication implementation. See the above test file for more details. This test plugin is based on the dialog plugin example.

Definition in file test_plugin.c.

Macro Definition Documentation

#define ORDINARY_QUESTION   "\2"

first byte of the question string is the question "type". It can be a "ordinary" or a "password" question. The last bit set marks a last question in the authentication exchange.

Definition at line 40 of file test_plugin.c.