Added a macro OSSL_DISPATCH_END as marker of the end of OSSL_DISPATCH arrays
[openssl.git] / doc / man3 / OSSL_DISPATCH.pod
index 1aca4019dcbc18b932a68f0761562ebd4549e4f0..52b7f3994505fbb8f618174882beeefd1d704eb3 100644 (file)
@@ -2,7 +2,7 @@
 
 =head1 NAME
 
-OSSL_DISPATCH - OpenSSL Core type to define a dispatchable function table
+OSSL_DISPATCH, OSSL_DISPATCH_END - OpenSSL Core type to define a dispatchable function table
 
 =head1 SYNOPSIS
 
@@ -14,14 +14,15 @@ OSSL_DISPATCH - OpenSSL Core type to define a dispatchable function table
      void (*function)(void);
  };
 
+ #define OSSL_DISPATCH_END
+
 =head1 DESCRIPTION
 
 This type is a tuple of function identity and function pointer.
 Arrays of this type are passed between the OpenSSL libraries and the
 providers to describe what functionality one side provides to the other.
 
-Arrays of this type must be terminated with a tuple having function identity
-zero and function pointer NULL.
+Arrays of this type must be terminated with the OSSL_DISPATCH_END macro.
 
 =head2 B<OSSL_DISPATCH> fields