Top |
NMSetting * | nm_setting_proxy_new () |
NMSettingProxyMethod | nm_setting_proxy_get_method () |
gboolean | nm_setting_proxy_get_browser_only () |
const char * | nm_setting_proxy_get_pac_url () |
const char * | nm_setting_proxy_get_pac_script () |
gboolean | browser-only | Read / Write |
int | method | Read / Write |
char * | pac-script | Read / Write |
char * | pac-url | Read / Write |
enum | NMSettingProxyMethod |
#define | NM_SETTING_PROXY_SETTING_NAME |
#define | NM_SETTING_PROXY_METHOD |
#define | NM_SETTING_PROXY_BROWSER_ONLY |
#define | NM_SETTING_PROXY_PAC_URL |
#define | NM_SETTING_PROXY_PAC_SCRIPT |
NMSettingProxy |
The NMSettingProxy object is a NMSetting subclass that describes properties related to Proxy settings like PAC URL, PAC script etc.
NetworkManager support 2 values for the “method” property for proxy. If "auto" is specified then WPAD takes place and the appropriate details are pushed into PacRunner or user can override this URL with a new PAC URL or a PAC script. If "none" is selected then no proxy configuration is given to PacRunner to fulfill client queries.
NMSetting *
nm_setting_proxy_new (void
);
Creates a new NMSettingProxy object.
Since: 1.6
NMSettingProxyMethod
nm_setting_proxy_get_method (NMSettingProxy *setting
);
Returns the proxy configuration method. By default the value is NM_SETTING_PROXY_METHOD_NONE
.
NM_SETTING_PROXY_METHOD_NONE
should be selected for a connection intended for direct network
access.
Since: 1.6
gboolean
nm_setting_proxy_get_browser_only (NMSettingProxy *setting
);
Since: 1.6
const char *
nm_setting_proxy_get_pac_url (NMSettingProxy *setting
);
Since: 1.6
const char *
nm_setting_proxy_get_pac_script (NMSettingProxy *setting
);
Since: 1.6
“browser-only”
property“browser-only” gboolean
Whether the proxy configuration is for browser only.
Owner: NMSettingProxy
Flags: Read / Write
Default value: FALSE
Since: 1.6
“method”
property “method” int
Method for proxy configuration, Default is NM_SETTING_PROXY_METHOD_NONE
Owner: NMSettingProxy
Flags: Read / Write
Default value: 0
Since: 1.6
“pac-script”
property “pac-script” char *
PAC script for the connection.
Owner: NMSettingProxy
Flags: Read / Write
Default value: NULL
Since: 1.6