Top | ![]() |
![]() |
![]() |
![]() |
OobsObject * | oobs_smb_config_get () |
OobsList * | oobs_smb_config_get_shares () |
const gchar * | oobs_smb_config_get_workgroup () |
void | oobs_smb_config_set_workgroup () |
const gchar * | oobs_smb_config_get_description () |
void | oobs_smb_config_set_description () |
gboolean | oobs_smb_config_get_is_wins_server () |
void | oobs_smb_config_set_is_wins_server () |
const gchar * | oobs_smb_config_get_wins_server () |
void | oobs_smb_config_set_wins_server () |
gboolean | oobs_smb_config_user_has_password () |
void | oobs_smb_config_delete_user_password () |
void | oobs_smb_config_set_user_password () |
gchar * | description | Read / Write |
gboolean | is-wins-server | Read / Write |
gchar * | wins-server | Read / Write |
gchar * | workgroup | Read / Write |
OobsObject *
oobs_smb_config_get (void
);
Returns the OobsSMBConfig singleton, which represents the SMB system configuration.
OobsList *
oobs_smb_config_get_shares (OobsSMBConfig *config
);
Returns an OobsList containing objects of type OobsShareSMB.
const gchar *
oobs_smb_config_get_workgroup (OobsSMBConfig *config
);
Returns the SMB workgroup for the host.
void oobs_smb_config_set_workgroup (OobsSMBConfig *config
,const gchar *workgroup
);
Sets a new SMB workgroup for the host, overwriting the previous one.
const gchar *
oobs_smb_config_get_description (OobsSMBConfig *config
);
Returns the SMB host description.
void oobs_smb_config_set_description (OobsSMBConfig *config
,const gchar *description
);
Sets a new SMB host description, overwriting the previous one.
gboolean
oobs_smb_config_get_is_wins_server (OobsSMBConfig *config
);
Returns whether the host is a WINS server for the network.
void oobs_smb_config_set_is_wins_server (OobsSMBConfig *config
,gboolean is_wins_server
);
Sets whether the host is a WINS server for the network. Note that there must be only one WINS server, so if there's already a WINS server in the network, there wouldn't be the need to set the host as another WINS server.
config |
An OobsSMBConfig. |
|
is_wins_server |
TRUE if the host is the WINS server for the network. |
const gchar *
oobs_smb_config_get_wins_server (OobsSMBConfig *config
);
Returns the WINS server the host is using.
void oobs_smb_config_set_wins_server (OobsSMBConfig *config
,const gchar *wins_server
);
Sets the WINS server that the host will use. This option is
mutually exclusive with oobs_smb_config_set_is_wins_server()
.
gboolean oobs_smb_config_user_has_password (OobsSMBConfig *config
,OobsUser *user
);
Returns whether the user has a SMB password or not.
void oobs_smb_config_delete_user_password (OobsSMBConfig *config
,OobsUser *user
);
Deletes the user from the SMB password database.
void oobs_smb_config_set_user_password (OobsSMBConfig *config
,OobsUser *user
,const gchar *password
);
Sets a SMB password for the user.
“description”
property“description” gchar *
Description for this host.
Owner: OobsSMBConfig
Flags: Read / Write
Default value: NULL
“is-wins-server”
property“is-wins-server” gboolean
Whether the host is the WINS server.
Owner: OobsSMBConfig
Flags: Read / Write
Default value: FALSE
“wins-server”
property“wins-server” gchar *
WINS server that the host will use.
Owner: OobsSMBConfig
Flags: Read / Write
Default value: NULL
“workgroup”
property“workgroup” gchar *
Workgroup/domain the host is in.
Owner: OobsSMBConfig
Flags: Read / Write
Default value: NULL