Did you know ...
Search Documentation:
Pack blog_core -- prolog/bc/bc_data_config.pl
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
bc_config_get
(+Name, -Value)
is
det
Retrieves the configuration entry. When the entry does not exist then an error
error(no_config(Name))
is thrown.
bc_config_set_api
(+Actor, +Name, +Value)
is
det
Same as
bc_config_set/2
but checks that the current API user is an admin.
bc_config_set_list_api
(+Actor, List)
is
det
Same as
bc_config_set_api/2
but takes a list of configuration entries.
bc_config_set
(+Name, +Value)
is
det
Sets the configuration value. If the value does not exist yet, it is added.
bc_config_list
(+Actor, -List)
is
det
Retrieves the list of all config values. Returned list contains dicts
config{ name: Name, value: Value }
.
bc_config_dict
(-Dict)
is
det
Retrieves dict containing all config entries.