2003-08-06 18:30:49 +02:00
|
|
|
/*
|
2003-09-26 16:13:15 +02:00
|
|
|
* The contents of this file are subject to the Initial
|
|
|
|
* Developer's Public License Version 1.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at
|
|
|
|
* http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl.
|
2003-08-06 18:30:49 +02:00
|
|
|
*
|
2003-09-26 16:13:15 +02:00
|
|
|
* Software distributed under the License is distributed AS IS,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing rights
|
|
|
|
* and limitations under the License.
|
2003-08-06 18:30:49 +02:00
|
|
|
*
|
2003-09-26 16:13:15 +02:00
|
|
|
* The Original Code was created by Dmitry Yemanov
|
|
|
|
* for the Firebird Open Source RDBMS project.
|
2003-08-06 18:30:49 +02:00
|
|
|
*
|
2003-09-26 16:13:15 +02:00
|
|
|
* Copyright (c) 2002 Dmitry Yemanov <dimitr@users.sf.net>
|
|
|
|
* and all contributors signed below.
|
2003-08-06 18:30:49 +02:00
|
|
|
*
|
2003-09-26 16:13:15 +02:00
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
2003-08-06 18:30:49 +02:00
|
|
|
*/
|
|
|
|
|
2004-03-18 06:56:06 +01:00
|
|
|
#ifndef JRD_DB_ALIAS_H
|
|
|
|
#define JRD_DB_ALIAS_H
|
2004-03-14 15:39:45 +01:00
|
|
|
|
2004-12-17 06:41:47 +01:00
|
|
|
#include "../common/classes/fb_string.h"
|
2010-02-28 19:00:51 +01:00
|
|
|
#include "../common/classes/RefCounted.h"
|
2004-03-14 15:39:45 +01:00
|
|
|
|
2010-02-28 19:00:51 +01:00
|
|
|
class Config;
|
|
|
|
|
2014-04-04 17:57:18 +02:00
|
|
|
bool expandDatabaseName(Firebird::PathName alias,
|
2012-03-14 09:46:27 +01:00
|
|
|
Firebird::PathName& file,
|
|
|
|
Firebird::RefPtr<Config>* config);
|
2012-03-17 03:26:59 +01:00
|
|
|
|
2015-02-09 15:08:31 +01:00
|
|
|
bool notifyDatabaseName(const Firebird::PathName& file);
|
|
|
|
|
2004-03-18 06:56:06 +01:00
|
|
|
#endif // JRD_DB_ALIAS_H
|