YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

NetworkPopup.ycp
Popup dialogs for browsing the local network
  • Martin Vidner
  • Ladislav Slezak

This module has an unstable interface.

Network browsing dialogs - all hosts, NFS servers, exports of the NFS server

Imports

  • Label
  • NetworkInterfaces

Global Functions

Local Functions

global ChooseItem (string title, list<string> items, string selected) -> string

Let the user choose one of a list of items

Parameters:
title selectionbox title
items a list of items
selected preselected a value in the list
Return value:
one item or nil
local ChooseItemSimple (string title, list<string> items, string selected) -> string

Let the user choose one of a list of items

Parameters:
title selectionbox title
items a list of items
selected preselected a value in the list
Return value:
one item or nil
global NFSServer (string selected) -> string

Give me NFS server name on the local network

Parameters:
selected preselected a value in the list
Return value:
a hostname or nil if "Cancel" was pressed
global HostName (string selected) -> string

Give me one host name on the local network

Parameters:
selected preselect a value in the list
Return value:
a hostname or nil if "Cancel" was pressed
global NFSExport (string server, string selected) -> string

Give me export path of selected server

Parameters:
server a NFS server name
selected preselected a value in the list
Return value:
an export or nil if "Cancel" was pressed