summaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add option to allow changing the location of or disabling the pidfileNikias Bassen2021-01-111-37/+59
|
* Fix parsing -S as short option for --socketNikias Bassen2021-01-111-3/+3
|
* Allow specifying a custom listen address:port or unix socketNikias Bassen2021-01-101-20/+167
|
* main: Increase listen socket backlog sizeNikias Bassen2020-07-301-1/+1
| | | | | | | | In environments with a larger number of devices, especially when these are connected at the time usbmuxd starts, there will be a lot of simultaneous connection attemps. With a backlog size of 5 these connection attempts will easily get a ECONNREFUSED thus failing to perform the required preflight operations. Increasing this to 256 will help to mitigate this.
* Unify usage output with other tools and add project URLsMartin Szulecki2020-06-041-1/+6
|
* Do not perform preflight on T2 devicesRick Mark2020-05-071-4/+12
|
* Define _BSD_SOURCE again for older platforms.Nikias Bassen2019-11-021-0/+1
| | | | | While defining _BSD_SOURCE prints deprecation warnings, defining both _DEFAULT_SOURCE and _BSD_SOURCE will not.
* Replace obsolete _BSD_SOURCE define with _DEFAULT_SOURCENikias Bassen2019-10-071-1/+1
|
* Allow logging to a dedicated logfileNikias Bassen2019-02-071-16/+35
|
* Try to autodetect ppoll(2) instead of hardcoding the list of platforms ↵Jan Beich2016-01-281-1/+1
| | | | lacking it thus using fallback.
* Fix debug message printing the wrong timeout valueNikias Bassen2016-01-281-1/+1
|
* Use non-blocking sockets for client communicationNikias Bassen2014-11-121-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.
* Only conditionally compile bits of udev and systemd supportMartin Szulecki2014-10-161-1/+21
|
* Fix support for more than one device with systemd by extending usbmuxd usageMartin Szulecki2014-10-141-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.
* Fix broken "--user" option which didn't accept an argumentMartin Szulecki2014-10-141-1/+1
|
* Update and slightly cleanup copyright headersMartin Szulecki2014-10-061-20/+19
|
* Fix detection of new "-V" version argumentMartin Szulecki2014-05-271-1/+1
|
* Add "--version" option to print version number and exit, useful for bug reportsMartin Szulecki2014-03-271-0/+5
|
* Update command usage output to match best practice and other toolsMartin Szulecki2014-03-271-10/+11
|
* removed trailing \n from usbmuxd_log() messagesNikias Bassen2014-01-091-2/+2
|
* increase number of open file descriptorsNikias Bassen2013-12-231-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'.
* add support for reading and writing config and pair record filesNikias Bassen2013-12-131-5/+2
|
* main: make sure the non-privileged user has proper access to the config dirNikias Bassen2013-12-101-9/+21
|
* main: prevent uninitialized value when using struct flockNikias Bassen2013-10-081-0/+1
|
* main: enclose libimobiledevice related code in #ifdefsNikias Bassen2013-09-221-0/+6
|
* preflight: Use userpref_get_system_buid() instead of hardcoded pathMartin Szulecki2013-09-191-1/+4
|
* make sure usbmuxd -x does not terminate when unpaired devices are still presentNikias Bassen2013-09-191-1/+1
|
* added preflight worker implementation to handle initial device pairingNikias Bassen2013-09-191-3/+17
|
* silence several compiler warningsNikias Bassen2013-09-171-5/+5
|
* remove libusbmuxd sources and adapt source tree to use autotoolsNikias Bassen2013-09-171-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