Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-04 | client: Remove now obsolete function | Patrik Flykt | 1 | -6/+0 | |
2013-04-04 | client: Use D-Bus helper functions when setting proxy | Patrik Flykt | 1 | -41/+76 | |
Append proxy server and exclude information in the callback functions. | |||||
2013-04-04 | client: Use helper functions for setting domains, nameservers and timeservers | Patrik Flykt | 1 | -9/+39 | |
2013-04-04 | client: Use helper functions for IP, autoconnect and removal | Patrik Flykt | 1 | -23/+158 | |
Use D-Bus helper functions for service remove, autoconnect and IP configuration. Create a common callback for all configuration properties. Count also the number of appended items and add it to the current index when done. | |||||
2013-04-04 | client: Use D-Bus helper function to implement services command | Patrik Flykt | 1 | -9/+49 | |
Fixes BMC#25953 BMC#25974 | |||||
2013-04-04 | client: Use D-Bus helper functions for Technology enabling/disabling | Patrik Flykt | 1 | -26/+58 | |
2013-04-04 | client: Add support functions for setting properties | Patrik Flykt | 2 | -16/+213 | |
Add support functions for setting basic, dictionary and array properties. | |||||
2013-04-04 | client: Use D-Bus helpers for Technology Scan method call | Patrik Flykt | 1 | -12/+20 | |
2013-04-04 | client: Use D-Bus helpers for Technology GetTechnologies method call | Patrik Flykt | 1 | -1/+32 | |
2013-04-04 | client: Use D-Bus helper functions for service connect and disconnect | Patrik Flykt | 1 | -9/+39 | |
2013-04-04 | client: Use D-Bus helper functions for state method call | Patrik Flykt | 1 | -1/+18 | |
2013-04-04 | client: Print out help header if non-interactive | Patrik Flykt | 1 | -0/+8 | |
2013-04-04 | client: Add calls to save and redraw input prompt | Patrik Flykt | 2 | -1/+12 | |
2013-04-04 | client: Remove now obsolete client/interactive.[hc] files | Patrik Flykt | 2 | -151/+0 | |
2013-04-04 | client: Remove readline handling from main.c | Patrik Flykt | 1 | -104/+6 | |
2013-04-04 | client: Handle exit and inprogress values | Patrik Flykt | 1 | -6/+11 | |
When exiting, return 1, when D-Bus method call is in progress return -EINPROGRESS. When exiting successfully return 0, when an error is encountered return the error value. | |||||
2013-04-04 | client: Delete the now obsolete monitor.[hc] files | Patrik Flykt | 5 | -392/+0 | |
2013-04-04 | client: Reimplement monitor command | Patrik Flykt | 1 | -12/+171 | |
Use generic D-Bus printing function to print the signals | |||||
2013-04-04 | client: Add input handling | Patrik Flykt | 3 | -0/+251 | |
Set up readline command line input handling. Add helper functions to save and redraw the command line when output needs to be printed to the screen. | |||||
2013-04-04 | client: Add pretty-printing for ServicesChanged signal | Patrik Flykt | 2 | -2/+121 | |
Create a set of helper functions for pretty-printing both the added and the removed services dictionaries in the ServicesChanged signal. | |||||
2013-04-04 | client: Add connmanctl D-Bus helper functions | Patrik Flykt | 2 | -0/+239 | |
Add helper functions for pretty-printing D-Bus messages and making a method call. | |||||
2013-02-21 | client: Remove the now obsolete command parsing functions | Patrik Flykt | 3 | -48/+11 | |
2013-02-21 | client: Remove unused functions | Patrik Flykt | 2 | -62/+0 | |
Remove find_service() as it is no longer used and match_service_name() which was only used by find_service(). | |||||
2013-02-21 | client: Factor out monitor command | Patrik Flykt | 1 | -129/+30 | |
2013-02-21 | client: Create monitor helper functions | Patrik Flykt | 2 | -0/+94 | |
2013-02-21 | client: Factor out technology enable and disable commands | Patrik Flykt | 1 | -40/+48 | |
2013-02-21 | client: Wait for a reply from Manager API | Patrik Flykt | 1 | -2/+10 | |
2013-02-21 | client: Wait for a reply from Technology API | Patrik Flykt | 1 | -6/+10 | |
Also reduce logging. | |||||
2013-02-21 | client: Factor out scan command | Patrik Flykt | 1 | -12/+19 | |
2013-02-21 | client: Reduce technology logging | Patrik Flykt | 1 | -8/+3 | |
Reduce technology logging messages and modify the remaining one. Also free the DBusError. | |||||
2013-02-21 | client: Factor out disconnect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Factor out connect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Don't look up service on connect or disconnect | Patrik Flykt | 1 | -16/+7 | |
Attempt to connect or disconnect without looking up the service in advace. Fix memory leak and update the error message. | |||||
2013-02-21 | client: Factor out technologies command | Patrik Flykt | 1 | -9/+4 | |
2013-02-21 | client: Factor out state command | Patrik Flykt | 1 | -9/+4 | |
2013-02-21 | client: Print out any errors on command execution | Patrik Flykt | 1 | -2/+6 | |
2013-02-21 | client: Factor out config command | Patrik Flykt | 1 | -110/+130 | |
Using the lengths returned from the property setting functions more than one config option can be specified on the command line. Use the simple argument parsing function as getopt is slightly limited in functionality. | |||||
2013-02-21 | client: Wait for a reply when removing service | Patrik Flykt | 1 | -9/+10 | |
2013-02-21 | client: Fix setting service properties | Patrik Flykt | 1 | -8/+25 | |
Set properties for a service ignoring any cached lookups. Send the method call only if ther is no error. When sending, wait for the result in order to see if the method call succeeded. | |||||
2013-02-21 | client: Quick fix for parsing IPv6.Configuration correctly | Patrik Flykt | 1 | -7/+26 | |
Fixes BMC#25925 | |||||
2013-02-21 | client: Return number of arguments processed when setting properties | Patrik Flykt | 1 | -3/+6 | |
2013-02-21 | client: Return number of proxies added | Patrik Flykt | 1 | -3/+3 | |
2013-02-21 | client: Return the number of proxy arguments discovered | Patrik Flykt | 1 | -3/+12 | |
2013-02-21 | client: Return the number of added dict entries | Patrik Flykt | 1 | -3/+12 | |
Check that both the dict entry name and data are non-NULL, the dict data does not start with '--' indicating a new option and that the length is not exhausted. Return the number of dict entries. | |||||
2013-02-21 | client: Return the number of added array entries | Patrik Flykt | 1 | -4/+9 | |
Check that the array element is non-NULL, does not start with '--' indicating a new option or that the array length is not exhausted. Return the number of array elements added. | |||||
2013-02-21 | client: Factor out services command | Patrik Flykt | 1 | -60/+45 | |
Update the help printout as well, '--properties' is not mandatory. Add a simple argument parsing function. | |||||
2013-02-21 | client: Add boolean parsing helper function | Patrik Flykt | 2 | -0/+27 | |
2013-02-21 | client: Fix up interactive option parsing | Patrik Flykt | 1 | -42/+21 | |
Use g_strsplit to get a NULL terminated array of chars and compute the number of array items. | |||||
2013-02-21 | client: Make DBusConnection global | Patrik Flykt | 2 | -1/+3 | |
2013-02-21 | client: Factor out help implementation | Patrik Flykt | 2 | -71/+82 | |
Use command table to produce help text. Add description texts for various options and use both option and description arrays to produce option help texts. Remove old help printing function. |