1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos OSSL_ITEM - OpenSSL Core type for generic itemized data 6 1.1 christos 7 1.1 christos =head1 SYNOPSIS 8 1.1 christos 9 1.1 christos #include <openssl/core.h> 10 1.1 christos 11 1.1 christos typedef struct ossl_item_st OSSL_ITEM; 12 1.1 christos struct ossl_item_st { 13 1.1 christos unsigned int id; 14 1.1 christos void *ptr; 15 1.1 christos }; 16 1.1 christos 17 1.1 christos =head1 DESCRIPTION 18 1.1 christos 19 1.1 christos This type is a tuple of integer and pointer. 20 1.1 christos It's a generic type used as a generic descriptor, its exact meaning 21 1.1 christos being defined by how it's used. 22 1.1 christos Arrays of this type are passed between the OpenSSL libraries and the 23 1.1 christos providers, and must be terminated with a tuple where the integer is 24 1.1 christos zero and the pointer NULL. 25 1.1 christos 26 1.1 christos This is currently mainly used for the return value of the provider's error 27 1.1 christos reason strings array, see L<provider-base(7)/Provider Functions>. 28 1.1 christos 29 1.1 christos =begin comment RETURN VALUES doesn't make sense for a manual that only 30 1.1 christos describes a type, but document checkers still want that section, and 31 1.1 christos to have more than just the section title. 32 1.1 christos 33 1.1 christos =head1 RETURN VALUES 34 1.1 christos 35 1.1 christos txt 36 1.1 christos 37 1.1 christos =end comment 38 1.1 christos 39 1.1 christos =head1 SEE ALSO 40 1.1 christos 41 1.1 christos L<crypto(7)>, L<provider-base(7)>, L<openssl-core.h(7)> 42 1.1 christos 43 1.1 christos =head1 HISTORY 44 1.1 christos 45 1.1 christos B<OSSL_ITEM> was added in OpenSSL 3.0 46 1.1 christos 47 1.1 christos =head1 COPYRIGHT 48 1.1 christos 49 1.1 christos Copyright 2022 The OpenSSL Project Authors. All Rights Reserved. 50 1.1 christos 51 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 52 1.1 christos this file except in compliance with the License. You can obtain a copy 53 1.1 christos in the file LICENSE in the source distribution or at 54 1.1 christos L<https://www.openssl.org/source/license.html>. 55 1.1 christos 56 1.1 christos =cut 57