package main import ( "strings" ) var global_cap_ls_response string var global_cap_ls_302_response string // Register a new capability. // This function is not reentrant and must not be called concurrently. // It should only be used in the init() functions in source files. func register_cap(name string, parameters string) { global_cap_ls_response += name + " " global_cap_ls_302_response += name if parameters != "" { global_cap_ls_302_response += "=" + parameters } global_cap_ls_302_response += " " }