summaryrefslogtreecommitdiff
path: root/exports/exports.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-05-01 12:36:34 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit1a18c28d6424a0b2deb54c65de3227e4399e30ae (patch)
treeeadd48f101bda662ba2d175047fa5cfd884f9b47 /exports/exports.go
parent1c4a3d41149a8cf2d4b55ed65dde1dfebb23d25a (diff)
Exports: Document AddServer ni flag
Diffstat (limited to 'exports/exports.go')
-rw-r--r--exports/exports.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 5e92a1c..b9a5fcd 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -195,6 +195,8 @@ func Deregister() *C.char {
// - In case of secure internet: The organization ID
// - In case of custom server: The base URL
// - In case of institute access: The base URL
+// ni stands for non-interactive. If non-zero, any state transitions will not be run.
+// This ni flag is useful for preprovisioned servers. For normal usage, you want to set this to zero (meaning: False)
// If the server cannot be added it returns the error as a string
// Note that the server is removed when an error has occured
// The following state callbacks are mandatory to handle: