summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23provider: Support functions addedJukka Rissanen1-0/+2
2012-11-23provider: Remove functionality that is no longer usedJukka Rissanen1-0/+3
The VPN support functionality is moved into connman-vpnd.
2012-11-23provider: Add more driver interface functions needed by vpnd pluginJukka Rissanen1-0/+5
2012-11-23provider: Provider disconnect function made available to pluginJukka Rissanen1-0/+2
The VPN needs to be able to call the provider disconnect.
2012-11-23vpn: New vpn daemon that handles vpn connections and clientsJukka Rissanen1-0/+57
2012-11-23device: Move device creation func into device.cJukka Rissanen2-1/+1
The device creation function should be part of device.c and not inet.c. After this change the inet.c can be used by separate vpn daemon.
2012-11-23ipconfig: Move IP address API into separate ipaddress.c fileJukka Rissanen2-17/+58
Done so that connman_ipaddress_* functions can be used from separate vpn daemon.
2012-11-22core: Use interface index instead of interface namePatrik Flykt1-4/+4
Service and network code use only interface indexes. Convert the rest of the code using interface names to use interface indexes instead. The files affected are: include/resolver.h src/connman.h src/dnsproxy.c src/resolver.c src/rtnl.c src/service.c src/tethering.c As the network and service code used interface indexes, the interface name had to be looked up via a SIOCGIFNAME ioctl when needed. If a service was removed due to the interface and network being taken down, the lookup wouldn't work. This caused DNS servers to be left behind with broken sockets since removing the DNS servers was done using the interface name.
2012-11-05session: Remove struct connman_session_bearerDaniel Wagner1-7/+0
Instead start using enum connman_service_type directly.
2012-11-05session: Remove match_all from connman_session_bearerDaniel Wagner1-1/+0
The match_all will be expressed through CONNMAN_SESSION_TYPE_UNKNOWN. The 'no match' case happens when allowed_bearers is NULL.
2012-11-05session: Remove name variable from connman_session_bearerDaniel Wagner1-1/+0
The string is only used when appending the bearer to the D-Bus message in append_allowed_bearers(). Let's use __connman_session_type2string() in append_allowed_bearers(). This saves a bit of memory.
2012-11-05session: Add callback to policy create()Daniel Wagner1-2/+7
Instead returning directly a config when create() is called in policy plugin, use a callback function for handing over a valid configuration from the plugin to the session core. This prepares support for asynchronous create call.
2012-10-16device: Add a getter for powered propertyTomasz Bursztyka1-0/+1
2012-10-02session: Move the default config create part back to coreDaniel Wagner1-0/+2
2012-09-27session: Enforce correct ConnectionType settingsDaniel Wagner1-3/+4
Up to now an empty or wrong ConnectionType was interpreted as 'any'. If the ConnectionType is either wrong ignore it. If no ConnectionType setting is passed in during creation of the session choose 'any'.
2012-09-27session: Add bearer list cleanup functionDaniel Wagner1-1/+1
2012-09-27session: Remove unused functionsDaniel Wagner1-8/+0
Basic types are not used for the configuration anymore.
2012-09-27session: Add callbacks for config creation and distructionDaniel Wagner1-0/+3
Whenever a new session is created, the core will ask the plugin the create the config. This config can then be used by the core to enforce the user settings. The owner ship of this config stays in the plugin. Therefore, the plugin will destroy is later.
2012-09-27session: Allow plugin access to connman_session_allowed_bearers_anyDaniel Wagner1-0/+2
2012-09-27session: Move configuration bits to a public structDaniel Wagner1-0/+23
Instead of passing basic datatypes between the session core and the policy plugin, provide a complex data structure which holds the session configuration.
2012-09-27session: Move bearer_info to session.hDaniel Wagner1-0/+7
Rename bearer_info to connman_session_bearer. Use also 'bearer' as local variable instead of 'info' to avoid confusion with session_info.
2012-09-27session: Use session pointer instead of string idDaniel Wagner1-7/+6
Instead of passing in some string to identify we can use the connman_session pointer. This allows us to keep the way sessions are identfied away from the core, e.g. using the D-Bus owner id or something else.
2012-09-27session: Move struct connman_session to session.hDaniel Wagner1-0/+2
2012-09-27session: Add plugin priorityDaniel Wagner1-0/+5
Support several session configuration plugins at runtime. Set the default priority to low for the current policy plugin.
2012-09-27session: Rename session_config to session_policyDaniel Wagner1-3/+3
2012-09-25inet: Add function to check if IPv6 is supported by kernelJukka Rissanen1-0/+1
2012-09-14dbus.h: Update include/dbus.h with more container supportTudor Marcu1-0/+19
Add a couple more functions for opening D-Bus message containers with different signatures currently used by the command line client.
2012-08-30session: Add configuration pluginDaniel Wagner1-0/+52
2012-08-23device: Refactor device scan functionJukka Rissanen1-3/+1
In wifi plugin this means that we combine three wifi scan functions (normal, fast, hidden) into one scan function.
2012-08-15service: Add getter for favorite flagJulien Massot1-0/+1
2012-08-14service: Allow plugins to lookup services by networksDaniel Wagner1-0/+3
2012-08-14service: Allow plugins access to connman_service_create_ip4/6configDaniel Wagner1-0/+5
2012-07-13config: Get configurations that are provisionedJukka Rissanen1-0/+52
We need the list of provisioned services so that all the hidden ones can be scanned.
2012-07-05device: Add capability to notify on regulatory domain settingTomasz Bursztyka1-0/+2
2012-07-05device: Add driver capability to set regulatory domain on device basisTomasz Bursztyka1-0/+5
2012-06-18service: Connecting hidden network waits until connectedJukka Rissanen2-2/+4
If the user is connecting to hidden network, then we delay the return of the reply to caller until the real service has connected. This way the user connect to hidden and non-hidden networks works the same way from caller point of view.
2012-06-14inet: Create helper function for IP address checkingPatrik Flykt1-0/+1
Create a helper function that checks if a given hostname is an IPv4 or IPv6 address. If it is, AF_INET or AF_INET6 is returned. On error the negative error value from getaddrinfo is returned.
2012-05-30main: Add InputRequestTimeout and BrowserLaunchTimeout variablesPatrik Flykt1-0/+3
Add InputRequestTimeout and BrowserLaunchTimeout main.conf variable handling and functions for fetching their values.
2012-05-25device: Make scanning getter method public.Tomasz Bursztyka1-0/+1
2012-05-04inet: Add function that checks if the hostname is validJukka Rissanen1-0/+1
2012-04-29core: Update copyright informationMarcel Holtmann22-22/+22
2012-04-23device: Remove the scheduled scan methodTomasz Bursztyka1-2/+0
wifi was the only one using it, and this is replaced by the combination of bgscan and autoscan.
2012-04-12resolver: Append fallback nameserversPatrik Flykt1-3/+0
Append fallback nameservers, if any. Remove functions for adding removing public nameservers since they are not used anymore.
2012-04-11main: Add 'DefaultAutoConnectTechnologies' configuration optionPatrik Flykt1-0/+3
The main.conf 'DefaultAutoConnectTechnologies' is a list of service type strings. It is converted to a list of service type enums, and thus the configuration option is accessible via the function connman_setting_get_uint_list(). If this option is not specified, the default technologies to autoconnect are wifi, ethernet and cellular just like before.
2012-04-05main: Parse FallbackTimeservers list from main.confAlok Barsode1-0/+1
2012-04-05service: Add Timeservers.Configuration PropertyAlok Barsode1-0/+1
This property helps to add service specific timeservers. These are set by the user and are per service.
2012-04-05Replace older system timeserver values with new ones instead of appendingAlok Barsode1-2/+1
Fixes BMC#24997.
2012-04-05net: Add functions to get dest address of P-t-P linkJukka Rissanen1-0/+2
These functions are needed when we need to setup a route to point-to-point link destination address. The route is needed if P-t-P link does not have a default route.
2012-02-04timeserver: Remove connman_timeserver_driver frameworkAlok Barsode1-21/+0
2012-02-04timeserver: Remove connman_timeserver_[append/remove]Alok Barsode1-3/+0
We do not need to these anymore as we directly use the timeservers from service.