+
+static int has_ccl_masking(const char *src_str,
+ int src_len,
+ const char **truncation_aliases,
+ const char **mask_aliases)
+{
+ size_t j;
+ int quote_mode = 0;
+
+ for (j = 0; j < src_len; j++)
+ {
+ size_t op_size;
+ if (j > 0 && src_str[j-1] == '\\')
+ ;
+ else if (src_str[j] == '"')
+ quote_mode = !quote_mode;
+ else if (!quote_mode &&
+ (op_size = cmp_operator(truncation_aliases,
+ src_str + j)))
+ return 1;
+ else if (!quote_mode &&
+ (op_size = cmp_operator(mask_aliases,
+ src_str + j)))
+ return 1;
+ }
+ return 0;
+}
+