Debian Codegraph @

src/utilities/ntrace/os/platform.h

raw
1 /*
2 * PROGRAM: SQL Trace plugin
3 * MODULE: TracePluginImpl.h
4 * DESCRIPTION: Platform specifics
5 *
6 * The contents of this file are subject to the Initial
7 * Developer's Public License Version 1.0 (the "License");
8 * you may not use this file except in compliance with the
9 * License. You may obtain a copy of the License at
10 * http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl.
11 *
12 * Software distributed under the License is distributed AS IS,
13 * WITHOUT WARRANTY OF ANY KIND, either express or implied.
14 * See the License for the specific language governing rights
15 * and limitations under the License.
16 *
17 * The Original Code was created by Nickolay Samofatov
18 * for the Firebird Open Source RDBMS project.
19 *
20 * Copyright (c) 2004 Nickolay Samofatov <[email protected]>
21 * and all contributors signed below.
22 *
23 * All Rights Reserved.
24 * Contributor(s): ______________________________________.
25 *
26 */
27
28 #ifndef OS_PLATFORM_H
29 #define OS_PLATFORM_H
30
31 const char* get_error_string();
32
33 void set_error_string(const char* str);
34
35 SLONG get_process_id();
36
37 #endif // OS_PLATFORM_H