Make modperl support AddServerDependentCapability

This commit is contained in:
Alexey Sokolov committed 2024-01-14 12:11:00 +00:00
1 parent efd136c01c
commit 2b3b224bca
5 files changed
+75 -3

No files matched your search

+3 -2
View File
@@ -1327,7 +1327,7 @@ class CModule {
* stopped supporting it. Note that it's not a strict toggle: e.g.
* sometimes client will disable the cap even when it was already disabled
* for that client.
* For python modules, this function accepts 3 parameters:
* For perl and python modules, this function accepts 3 parameters:
* name, server callback, client callback; signatures of the callbacks are
* the same as of the virtual functions you'd implement in C++.
*/
@@ -1414,8 +1414,9 @@ class CModule {
const CString& sContext = "") const;
#endif
// Default implementations of several CAP callbacks to make
// Default implementations of several callbacks to make
// AddServerDependentCapability work in modpython/modperl.
// Don't worry about existence of these functions.
bool InternalServerDependentCapsOnServerCap302Available(
const CString& sCap, const CString& sValue);
void InternalServerDependentCapsOnServerCapResult(const CString& sCap,