summaryrefslogtreecommitdiff
path: root/absl/flags/internal/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/flags/internal/registry.h')
-rw-r--r--absl/flags/internal/registry.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/absl/flags/internal/registry.h b/absl/flags/internal/registry.h
index 1df2db79..4b68c85f 100644
--- a/absl/flags/internal/registry.h
+++ b/absl/flags/internal/registry.h
@@ -30,16 +30,15 @@ namespace absl {
ABSL_NAMESPACE_BEGIN
namespace flags_internal {
-// Executes specified visitor for each non-retired flag in the registry.
-// Requires the caller hold the registry lock.
-void ForEachFlagUnlocked(std::function<void(CommandLineFlag&)> visitor);
// Executes specified visitor for each non-retired flag in the registry. While
// callback are executed, the registry is locked and can't be changed.
void ForEachFlag(std::function<void(CommandLineFlag&)> visitor);
//-----------------------------------------------------------------------------
-bool RegisterCommandLineFlag(CommandLineFlag&);
+bool RegisterCommandLineFlag(CommandLineFlag&, const char* filename);
+
+void FinalizeRegistry();
//-----------------------------------------------------------------------------
// Retired registrations: