Path: blob/main/crypto/openssl/apps/include/names.h
34907 views
/*1* Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/89#include <openssl/safestack.h>1011/* Standard comparing function for names */12int name_cmp(const char * const *a, const char * const *b);13/* collect_names is meant to be used with EVP_{type}_doall_names */14void collect_names(const char *name, void *vdata);15/* Sorts and prints a stack of names to |out| */16void print_names(BIO *out, STACK_OF(OPENSSL_CSTRING) *names);171819