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 _REL_REMOTE_H_
10#define _REL_REMOTE_H_
11
12#include "sql_relation.h"
13
14extern int mapiuri_valid( const char *uri);
15extern const char *mapiuri_uri(const char *uri, sql_allocator *sa);
16extern const char *mapiuri_database(const char *uri, sql_allocator *sa);
17extern const char *mapiuri_schema(const char *uri, sql_allocator *sa, const char *fallback);
18extern const char *mapiuri_table(const char *uri, sql_allocator *sa, const char *fallback);
19
20#endif /*_REL_REMOTE_H_*/
21