MySQL 8.4.0
Source Code Documentation
user_registration.h
Go to the documentation of this file.
1/*
2Copyright (c) 2021, 2024, 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 designed to work 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 either included with
14the program or referenced in the documentation.
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_handle, char *register_option,
32 char *errmsg);
33
34#endif // USER_REGISTRATION_H_
static MYSQL mysql_handle
Definition: mysql.cc:167
This file defines the client API to MySQL and also the ABI of the dynamically linked libmysqlclient.
Definition: mysql.h:300
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:90