1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.
7 */
8
9#ifndef _SQL_USER_H_
10#define _SQL_USER_H_
11#include "sql.h" /* includes sql_backend.h */
12
13sql5_export void monet5_user_init(backend_functions *be_funcs);
14sql5_export str monet5_user_set_def_schema(mvc *m, oid user /* mal user id */);
15sql5_export str monet5_user_get_def_schema(mvc *m, int user /* sql user id */);
16
17sql5_export str db_users_wrap(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
18sql5_export str db_password_wrap(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
19
20#endif /* _SQL_USER_H_ */
21