MySQL 8.3.0
Source Code Documentation
user_registration.h
Go to the documentation of this file.
1/*
2Copyright (c) 2021, 2023, Oracle and/or its affiliates.
3
4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License, version 2.0,
6as published by the Free Software Foundation.
7
8This program is also distributed with certain software (including
9but not limited to OpenSSL) that is licensed under separate terms,
10as designated in a particular file or component or in included license
11documentation. The authors of MySQL hereby grant you an additional
12permission to link the program and your derivative works with the
13separately licensed software that they have included with MySQL.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License, version 2.0, for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24
25#ifndef USER_REGISTRATION_H_
26#define USER_REGISTRATION_H_
27
28#include <mysql.h>
29
30bool user_device_registration(MYSQL *mysql_handle, char *register_option,
31 char *errmsg);
32
33#endif // USER_REGISTRATION_H_
static MYSQL mysql_handle
Definition: mysql.cc:166
This file defines the client API to MySQL and also the ABI of the dynamically linked libmysqlclient.
Definition: mysql.h:297
bool user_device_registration(MYSQL *mysql_handle, char *register_option, char *errmsg)
This helper method is used to perform device registration against a user account.
Definition: user_registration.cc:89