Lines Matching refs:suffix
182 char *suffix; member
247 const char **prefix, const char **suffix, in set_trace_data() argument
261 curr_suffix = trace_channels[category].suffix; in set_trace_data()
268 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data()
282 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data()
284 trace_channels[category].suffix = NULL; in set_trace_data()
300 if (suffix != NULL && *suffix != NULL) { in set_trace_data()
301 if ((curr_suffix = OPENSSL_strdup(*suffix)) == NULL) in set_trace_data()
303 trace_channels[category].suffix = curr_suffix; in set_trace_data()
324 if (suffix != NULL && *suffix != NULL) { in set_trace_data()
325 attach_cb(category, SUFFIX, *suffix); in set_trace_data()
345 const char *suffix = NULL; in ossl_trace_cleanup() local
351 set_trace_data(category, 0, &channel, &prefix, &suffix, in ossl_trace_cleanup()
355 &prefix, &suffix, in ossl_trace_cleanup()
441 int OSSL_trace_set_suffix(int category, const char *suffix) in OSSL_trace_set_suffix() argument
445 return set_trace_data(category, 0, NULL, NULL, &suffix, in OSSL_trace_set_suffix()
510 char *suffix = NULL; in OSSL_trace_end() local
515 suffix = trace_channels[category].suffix; in OSSL_trace_end()
521 if (suffix != NULL) { in OSSL_trace_end()
522 (void)BIO_puts(channel, suffix); in OSSL_trace_end()
528 suffix == NULL ? 0 : strlen(suffix), suffix); in OSSL_trace_end()