OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
载入中...
搜索中...
未找到
deps
oceanbase
src
plugin
include
oceanbase
ob_plugin_errno.h
浏览该文件的文档.
1
/*
2
* Copyright (c) 2023 OceanBase
3
* OceanBase is licensed under Mulan PubL v2.
4
* You can use this software according to the terms and conditions of the Mulan PubL v2.
5
* You may obtain a copy of Mulan PubL v2 at:
6
* http://license.coscl.org.cn/MulanPubL-2.0
7
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
* See the Mulan PubL v2 for more details.
11
*/
12
13
#pragma once
14
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
const
int
OBP_SUCCESS
= 0;
29
const
int
OBP_INVALID_ARGUMENT
= -4002;
30
const
int
OBP_INIT_TWICE
= -4005;
31
const
int
OBP_NOT_INIT
= -4006;
32
const
int
OBP_NOT_SUPPORTED
= -4007;
33
const
int
OBP_ITER_END
= -4008;
34
const
int
OBP_ALLOCATE_MEMORY_FAILED
= -4013;
35
const
int
OBP_PLUGIN_ERROR
= -11078;
36
37
#ifdef __cplusplus
38
}
// extern "C"
39
#endif
40
OBP_SUCCESS
const int OBP_SUCCESS
this is the adaptor errno of oceanbase errno
定义
ob_plugin_errno.h:28
OBP_INVALID_ARGUMENT
const int OBP_INVALID_ARGUMENT
定义
ob_plugin_errno.h:29
OBP_ITER_END
const int OBP_ITER_END
定义
ob_plugin_errno.h:33
OBP_INIT_TWICE
const int OBP_INIT_TWICE
定义
ob_plugin_errno.h:30
OBP_ALLOCATE_MEMORY_FAILED
const int OBP_ALLOCATE_MEMORY_FAILED
定义
ob_plugin_errno.h:34
OBP_PLUGIN_ERROR
const int OBP_PLUGIN_ERROR
定义
ob_plugin_errno.h:35
OBP_NOT_SUPPORTED
const int OBP_NOT_SUPPORTED
定义
ob_plugin_errno.h:32
OBP_NOT_INIT
const int OBP_NOT_INIT
定义
ob_plugin_errno.h:31
制作者
1.12.0