Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:44

0001 /*
0002  * Copyright 2024 The OpenSSL Project Authors. All Rights Reserved.
0003  *
0004  * Licensed under the Apache License 2.0 (the "License").  You may not use
0005  * this file except in compliance with the License.  You can obtain a copy
0006  * in the file LICENSE in the source distribution or at
0007  * https://www.openssl.org/source/license.html
0008  */
0009 
0010 #ifndef OPENSSL_INDICATOR_H
0011 # define OPENSSL_INDICATOR_H
0012 # pragma once
0013 
0014 # ifdef __cplusplus
0015 extern "C" {
0016 # endif
0017 
0018 #include <openssl/params.h>
0019 
0020 typedef int (OSSL_INDICATOR_CALLBACK)(const char *type, const char *desc,
0021                                       const OSSL_PARAM params[]);
0022 
0023 void OSSL_INDICATOR_set_callback(OSSL_LIB_CTX *libctx,
0024                                  OSSL_INDICATOR_CALLBACK *cb);
0025 void OSSL_INDICATOR_get_callback(OSSL_LIB_CTX *libctx,
0026                                  OSSL_INDICATOR_CALLBACK **cb);
0027 
0028 # ifdef __cplusplus
0029 }
0030 # endif
0031 #endif /* OPENSSL_INDICATOR_H */