/** * Copyright 2019-2020 DigitalOcean Inc. * * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #define TAOS_STDIO_CLOSE_DIR_ERROR "failed to close dir" #define TAOS_STDIO_OPEN_DIR_ERROR "failed to open dir" #define TAOS_METRIC_INCORRECT_TYPE "incorrect metric type" #define TAOS_METRIC_INVALID_LABEL_NAME "invalid label name" #define TAOS_PTHREAD_RWLOCK_DESTROY_ERROR "failed to destroy the pthread_rwlock_t*" #define TAOS_PTHREAD_RWLOCK_INIT_ERROR "failed to initialize the pthread_rwlock_t*" #define TAOS_PTHREAD_RWLOCK_LOCK_ERROR "failed to lock the pthread_rwlock_t*" #define TAOS_PTHREAD_RWLOCK_UNLOCK_ERROR "failed to unlock the pthread_rwlock_t*" #define TAOS_REGEX_REGCOMP_ERROR "failed to compile the regular expression" #define TAOS_REGEX_REGEXEC_ERROR "failed to execute the regular expression"