summaryrefslogtreecommitdiff
path: root/pkg/backend
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:23:47 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:23:47 +0200
commitef0d5525b7c47d03b7577035e3394b450691e92b (patch)
tree0bda2eedba66718a4dcf90be77647d1b6bc84503 /pkg/backend
parent998b5cb54ad23be1f6df0ee8abd08af5614f38db (diff)
[refactor] grab appname from providers.json
Diffstat (limited to 'pkg/backend')
-rw-r--r--pkg/backend/api.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index a8d16a3..d422bf3 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -145,16 +145,6 @@ func EnableWebAPI(port string) {
go enableWebAPI(intPort)
}
-/* these two are a bit redundant since we already add them to ctx. however, we
- want to have them available before everything else, to be able to parse cli
- arguments. In the long run, we probably want to move all vendoring to qt, so
- this probably should not live in the backend, see #326*/
-
func GetVersion() *C.char {
return C.CString(version.VERSION)
}
-
-func GetAppName() *C.char {
- p := bitmask.GetConfiguredProvider()
- return C.CString(p.AppName)
-}