OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
载入中...
搜索中...
未找到
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
25extern "C" {
26#endif
27
28const int OBP_SUCCESS = 0;
29const int OBP_INVALID_ARGUMENT = -4002;
30const int OBP_INIT_TWICE = -4005;
31const int OBP_NOT_INIT = -4006;
32const int OBP_NOT_SUPPORTED = -4007;
33const int OBP_ITER_END = -4008;
35const int OBP_PLUGIN_ERROR = -11078;
36
37#ifdef __cplusplus
38} // extern "C"
39#endif
40
const int OBP_SUCCESS
this is the adaptor errno of oceanbase errno
const int OBP_INVALID_ARGUMENT
const int OBP_ITER_END
const int OBP_INIT_TWICE
const int OBP_ALLOCATE_MEMORY_FAILED
const int OBP_PLUGIN_ERROR
const int OBP_NOT_SUPPORTED
const int OBP_NOT_INIT