C++: Rename SslContextCallMake to SslContextCallGlobal

This is in line with changes made to the dataflow library
This commit is contained in:
Jeroen Ketema
2023-03-24 09:02:31 +01:00
parent 9d88f01c82
commit 3e4f35151a
2 changed files with 13 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
--- ---
category: deprecated category: deprecated
--- ---
* The `SslContextCallAbstractConfig`, `SslContextCallConfig`, `SslContextCallBannedProtocolConfig`, `SslContextCallTls12ProtocolConfig`, `SslContextCallTls13ProtocolConfig`, `SslContextCallTlsProtocolConfig`, `SslContextFlowsToSetOptionConfig`, `SslOptionConfig` dataflow configurations from `BoostorgAsio` have been deprecated. Please use `SslContextCallConfigSig`, `SslContextCallMake`, `SslContextCallFlow`, `SslContextCallBannedProtocolFlow`, `SslContextCallTls12ProtocolFlow`, `SslContextCallTls13ProtocolFlow`, `SslContextCallTlsProtocolFlow`, `SslContextFlowsToSetOptionFlow`. * The `SslContextCallAbstractConfig`, `SslContextCallConfig`, `SslContextCallBannedProtocolConfig`, `SslContextCallTls12ProtocolConfig`, `SslContextCallTls13ProtocolConfig`, `SslContextCallTlsProtocolConfig`, `SslContextFlowsToSetOptionConfig`, `SslOptionConfig` dataflow configurations from `BoostorgAsio` have been deprecated. Please use `SslContextCallConfigSig`, `SslContextCallGlobal`, `SslContextCallFlow`, `SslContextCallBannedProtocolFlow`, `SslContextCallTls12ProtocolFlow`, `SslContextCallTls13ProtocolFlow`, `SslContextCallTlsProtocolFlow`, `SslContextFlowsToSetOptionFlow`.

View File

@@ -394,7 +394,7 @@ module BoostorgAsio {
* Constructs a standard data flow computation for protocol values to the first argument * Constructs a standard data flow computation for protocol values to the first argument
* of a context constructor. * of a context constructor.
*/ */
module SslContextCallMake<SslContextCallConfigSig Config> { module SslContextCallGlobal<SslContextCallConfigSig Config> {
private module C implements DataFlow::ConfigSig { private module C implements DataFlow::ConfigSig {
import Config import Config
} }
@@ -402,6 +402,11 @@ module BoostorgAsio {
import DataFlow::Global<C> import DataFlow::Global<C>
} }
/** DEPRECATED: Use `SslContextCallGlobal` instead. */
deprecated module SslContextCallMake<SslContextCallConfigSig Config> {
import SslContextCallGlobal<Config>
}
/** /**
* Any protocol value that flows to the first argument of a context constructor. * Any protocol value that flows to the first argument of a context constructor.
*/ */
@@ -428,7 +433,7 @@ module BoostorgAsio {
} }
} }
module SslContextCallFlow = SslContextCallMake<SslContextCallConfig>; module SslContextCallFlow = SslContextCallGlobal<SslContextCallConfig>;
/** /**
* A banned protocol value that flows to the first argument of a context constructor. * A banned protocol value that flows to the first argument of a context constructor.
@@ -458,7 +463,8 @@ module BoostorgAsio {
} }
} }
module SslContextCallBannedProtocolFlow = SslContextCallMake<SslContextCallBannedProtocolConfig>; module SslContextCallBannedProtocolFlow =
SslContextCallGlobal<SslContextCallBannedProtocolConfig>;
/** /**
* A TLS 1.2 protocol value that flows to the first argument of a context constructor. * A TLS 1.2 protocol value that flows to the first argument of a context constructor.
@@ -488,7 +494,7 @@ module BoostorgAsio {
} }
} }
module SslContextCallTls12ProtocolFlow = SslContextCallMake<SslContextCallTls12ProtocolConfig>; module SslContextCallTls12ProtocolFlow = SslContextCallGlobal<SslContextCallTls12ProtocolConfig>;
/** /**
* A TLS 1.3 protocol value that flows to the first argument of a context constructor. * A TLS 1.3 protocol value that flows to the first argument of a context constructor.
@@ -518,7 +524,7 @@ module BoostorgAsio {
} }
} }
module SslContextCallTls13ProtocolFlow = SslContextCallMake<SslContextCallTls13ProtocolConfig>; module SslContextCallTls13ProtocolFlow = SslContextCallGlobal<SslContextCallTls13ProtocolConfig>;
/** /**
* A generic TLS protocol value that flows to the first argument of a context constructor. * A generic TLS protocol value that flows to the first argument of a context constructor.
@@ -548,7 +554,7 @@ module BoostorgAsio {
} }
} }
module SslContextCallTlsProtocolFlow = SslContextCallMake<SslContextCallTlsProtocolConfig>; module SslContextCallTlsProtocolFlow = SslContextCallGlobal<SslContextCallTlsProtocolConfig>;
/** /**
* A context constructor call that flows to a call to `SetOptions()`. * A context constructor call that flows to a call to `SetOptions()`.