summaryrefslogtreecommitdiffstats
path: root/src/main.c
AgeCommit message (Collapse)AuthorFilesLines
2014-11-12Use non-blocking sockets for client communicationGravatar Nikias Bassen1-0/+9
This approach is better than using blocking sockets and select() since there's no guarantee that send() doesn't block. Plus we're using poll() anyway so send() and recv() will only be called if the socket is actually ready for writing/reading.
2014-10-16Only conditionally compile bits of udev and systemd supportGravatar Martin Szulecki1-1/+21
2014-10-14Fix support for more than one device with systemd by extending usbmuxd usageGravatar Martin Szulecki1-15/+41
Upon connecting a new device, usbmuxd was not notified to scan for it if systemd was used as the activation method. This change introduces the "--disable-hotplug" and "--enable-exit" options to have a finer control over usbmuxd's signaling behavior. The convenience option "--systemd" complements the "--udev" option and setups the right settings for systemd.
2014-10-14Fix broken "--user" option which didn't accept an argumentGravatar Martin Szulecki1-1/+1
2014-10-06Update and slightly cleanup copyright headersGravatar Martin Szulecki1-20/+19
2014-05-27Fix detection of new "-V" version argumentGravatar Martin Szulecki1-1/+1
2014-03-27Add "--version" option to print version number and exit, useful for bug reportsGravatar Martin Szulecki1-0/+5
2014-03-27Update command usage output to match best practice and other toolsGravatar Martin Szulecki1-10/+11
2014-01-09removed trailing \n from usbmuxd_log() messagesGravatar Nikias Bassen1-2/+2
2013-12-23increase number of open file descriptorsGravatar Nikias Bassen1-0/+7
When a large number of devices are used, the number of open file descriptors can reach the default system limit. Upon startup we now raise it to a much higher value to give more 'space'.
2013-12-13add support for reading and writing config and pair record filesGravatar Nikias Bassen1-5/+2
2013-12-10main: make sure the non-privileged user has proper access to the config dirGravatar Nikias Bassen1-9/+21
2013-10-08main: prevent uninitialized value when using struct flockGravatar Nikias Bassen1-0/+1
2013-09-22main: enclose libimobiledevice related code in #ifdefsGravatar Nikias Bassen1-0/+6
2013-09-19preflight: Use userpref_get_system_buid() instead of hardcoded pathGravatar Martin Szulecki1-1/+4
2013-09-19make sure usbmuxd -x does not terminate when unpaired devices are still presentGravatar Nikias Bassen1-1/+1
2013-09-19added preflight worker implementation to handle initial device pairingGravatar Nikias Bassen1-3/+17
2013-09-17silence several compiler warningsGravatar Nikias Bassen1-5/+5
2013-09-17remove libusbmuxd sources and adapt source tree to use autotoolsGravatar Nikias Bassen1-0/+618
libusbmuxd has been split off and is now managed in a separate repository. By the time of this commit, the repository is: git clone http://git.sukimashita.com/libusbmuxd.git