// Copyright (C) 2022 Check Point Software Technologies Ltd. All rights reserved. // Licensed under the Apache License, Version 2.0 (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. #include "pm_adaptor.h" int kiss_debug_err_flag = 0; void kiss_debug_start() { kiss_debug_err_flag = 1; } void kiss_debug_stop() { kiss_debug_err_flag = 0; } void kiss_pmglob_char_xlation_build(enum kiss_pmglob_char_xlation_flags_e flags, u_char tab[KISS_PM_ALPHABET_SIZE]) { u_int i; // Find the canonic character for each character. for (i=0; ierror_string != NULL)) // No error struct or error already set. Not a problem return; error->error_type = error_type; error->error_string = error_string; return; }