summaryrefslogtreecommitdiff
path: root/client
AgeCommit message (Collapse)AuthorFilesLines
2013-04-04client: Remove now obsolete functionPatrik Flykt1-6/+0
2013-04-04client: Use D-Bus helper functions when setting proxyPatrik Flykt1-41/+76
Append proxy server and exclude information in the callback functions.
2013-04-04client: Use helper functions for setting domains, nameservers and timeserversPatrik Flykt1-9/+39
2013-04-04client: Use helper functions for IP, autoconnect and removalPatrik Flykt1-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-04client: Use D-Bus helper function to implement services commandPatrik Flykt1-9/+49
Fixes BMC#25953 BMC#25974
2013-04-04client: Use D-Bus helper functions for Technology enabling/disablingPatrik Flykt1-26/+58
2013-04-04client: Add support functions for setting propertiesPatrik Flykt2-16/+213
Add support functions for setting basic, dictionary and array properties.
2013-04-04client: Use D-Bus helpers for Technology Scan method callPatrik Flykt1-12/+20
2013-04-04client: Use D-Bus helpers for Technology GetTechnologies method callPatrik Flykt1-1/+32
2013-04-04client: Use D-Bus helper functions for service connect and disconnectPatrik Flykt1-9/+39
2013-04-04client: Use D-Bus helper functions for state method callPatrik Flykt1-1/+18
2013-04-04client: Print out help header if non-interactivePatrik Flykt1-0/+8
2013-04-04client: Add calls to save and redraw input promptPatrik Flykt2-1/+12
2013-04-04client: Remove now obsolete client/interactive.[hc] filesPatrik Flykt2-151/+0
2013-04-04client: Remove readline handling from main.cPatrik Flykt1-104/+6
2013-04-04client: Handle exit and inprogress valuesPatrik Flykt1-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-04client: Delete the now obsolete monitor.[hc] filesPatrik Flykt5-392/+0
2013-04-04client: Reimplement monitor commandPatrik Flykt1-12/+171
Use generic D-Bus printing function to print the signals
2013-04-04client: Add input handlingPatrik Flykt3-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-04client: Add pretty-printing for ServicesChanged signalPatrik Flykt2-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-04client: Add connmanctl D-Bus helper functionsPatrik Flykt2-0/+239
Add helper functions for pretty-printing D-Bus messages and making a method call.
2013-02-21client: Remove the now obsolete command parsing functionsPatrik Flykt3-48/+11
2013-02-21client: Remove unused functionsPatrik Flykt2-62/+0
Remove find_service() as it is no longer used and match_service_name() which was only used by find_service().
2013-02-21client: Factor out monitor commandPatrik Flykt1-129/+30
2013-02-21client: Create monitor helper functionsPatrik Flykt2-0/+94
2013-02-21client: Factor out technology enable and disable commandsPatrik Flykt1-40/+48
2013-02-21client: Wait for a reply from Manager APIPatrik Flykt1-2/+10
2013-02-21client: Wait for a reply from Technology APIPatrik Flykt1-6/+10
Also reduce logging.
2013-02-21client: Factor out scan commandPatrik Flykt1-12/+19
2013-02-21client: Reduce technology loggingPatrik Flykt1-8/+3
Reduce technology logging messages and modify the remaining one. Also free the DBusError.
2013-02-21client: Factor out disconnect commandPatrik Flykt1-12/+13
2013-02-21client: Factor out connect commandPatrik Flykt1-12/+13
2013-02-21client: Don't look up service on connect or disconnectPatrik Flykt1-16/+7
Attempt to connect or disconnect without looking up the service in advace. Fix memory leak and update the error message.
2013-02-21client: Factor out technologies commandPatrik Flykt1-9/+4
2013-02-21client: Factor out state commandPatrik Flykt1-9/+4
2013-02-21client: Print out any errors on command executionPatrik Flykt1-2/+6
2013-02-21client: Factor out config commandPatrik Flykt1-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-21client: Wait for a reply when removing servicePatrik Flykt1-9/+10
2013-02-21client: Fix setting service propertiesPatrik Flykt1-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-21client: Quick fix for parsing IPv6.Configuration correctlyPatrik Flykt1-7/+26
Fixes BMC#25925
2013-02-21client: Return number of arguments processed when setting propertiesPatrik Flykt1-3/+6
2013-02-21client: Return number of proxies addedPatrik Flykt1-3/+3
2013-02-21client: Return the number of proxy arguments discoveredPatrik Flykt1-3/+12
2013-02-21client: Return the number of added dict entriesPatrik Flykt1-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-21client: Return the number of added array entriesPatrik Flykt1-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-21client: Factor out services commandPatrik Flykt1-60/+45
Update the help printout as well, '--properties' is not mandatory. Add a simple argument parsing function.
2013-02-21client: Add boolean parsing helper functionPatrik Flykt2-0/+27
2013-02-21client: Fix up interactive option parsingPatrik Flykt1-42/+21
Use g_strsplit to get a NULL terminated array of chars and compute the number of array items.
2013-02-21client: Make DBusConnection globalPatrik Flykt2-1/+3
2013-02-21client: Factor out help implementationPatrik Flykt2-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.