projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Place return values after examples in doc
[openssl.git]
/
doc
/
internal
/
man3
/
openssl_ctx_get_data.pod
diff --git
a/doc/internal/man3/openssl_ctx_get_data.pod
b/doc/internal/man3/openssl_ctx_get_data.pod
index ee98dc27334a5584fdd26fd270f6a176e376aaad..db066ad9b69176ce0186c7cfe7c3f321d06cf7e8 100644
(file)
--- a/
doc/internal/man3/openssl_ctx_get_data.pod
+++ b/
doc/internal/man3/openssl_ctx_get_data.pod
@@
-39,6
+39,14
@@
context is freed.
openssl_ctx_get_data() is used to retrieve a pointer to the data in
the library context C<ctx> associated with the given C<index>.
openssl_ctx_get_data() is used to retrieve a pointer to the data in
the library context C<ctx> associated with the given C<index>.
+=head1 RETURN VALUES
+
+openssl_ctx_new_index() returns -1 on error, otherwise the allocated
+index number.
+
+openssl_ctx_get_data() returns a pointer on success, or C<NULL> on
+failure.
+
=head1 EXAMPLES
=head2 Initialization
=head1 EXAMPLES
=head2 Initialization
@@
-88,14
+96,6
@@
To get and use the data stored in the library context, simply do this:
*/
FOO *data = openssl_ctx_get_data(ctx, foo_index);
*/
FOO *data = openssl_ctx_get_data(ctx, foo_index);
-=head1 RETURN VALUES
-
-openssl_ctx_new_index() returns -1 on error, otherwise the allocated
-index number.
-
-openssl_ctx_get_data() returns a pointer on success, or C<NULL> on
-failure.
-
=head1 SEE ALSO
L<OPENSSL_CTX(3)>
=head1 SEE ALSO
L<OPENSSL_CTX(3)>