From 1a18c28d6424a0b2deb54c65de3227e4399e30ae Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 1 May 2023 12:36:34 +0200 Subject: Exports: Document AddServer ni flag --- exports/exports.go | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3