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