diff options
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 346e8cb..42bef77 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -110,6 +110,7 @@ public: using ReadCallback = bool(*)(const void** const data, size_t* const size, void* const arg); using SetupCallback = bool(*)(void* const arg); using WriteCallback = bool(*)(const void* const data, size_t const size, void* const arg); + using EntryNameMatchingCallback = int(*)(const char* query, const char* name); // but a more practical variant here using WarningCallback = void(*)(const std::string& message); @@ -135,6 +136,8 @@ public: static void setWarningCallback(const WarningCallback callback); + static void setEntryNameMatchingCallback(const EntryNameMatchingCallback callback); + public: // the constructor will automatically construct an internal CC4Group, so no new-equivalent method is needed // may throw std::bad_alloc if the allocation and construction of the internal CC4Group object fails |
