summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
Commit message (Collapse)AuthorAgeFilesLines
* Generate structs and struct lists generically.Richard Jones2009-07-071-3/+3
| | | | | | | | | | | This modifies the way that struct and struct lists are generated (for return values) so that there is no need to add an explicit new type when adding a new structure. All tests pass, and the C API should be compatible. I have also inspected the changes that are made to the generated code by hand.
* Add list of function_names to the daemon.Richard W.M. Jones2009-07-021-0/+3
| | | | | Messages which include the proc_nr can now also include the name of the actual function being called.
* Call 'udevadm settle' after operations which add/remove device nodes.Richard W.M. Jones2009-07-011-0/+2
| | | | | | | | | | | | | Because udev operates asynchronously, we found errors which were caused by a previous command (eg. sfdisk or pvremove) creating or removing a device, and that change not having happened by the time the next command was run. This patch adds calls to '/sbin/udevadm settle' after any commands which can add or remove device nodes. If udev is not being used or not available, this should have no effect. The command fails and this is silently ignored.
* Make CHROOT_IN/OUT macros should loudly if the syscall fails.Richard Jones2009-06-221-4/+15
|
* Add strong note about deprecation of functions which take either device ↵Richard W.M. Jones2009-06-201-0/+6
| | | | names or filenames.
* Implement device name translation. Remove device name hacks in tests.Richard Jones2009-06-101-7/+8
|
* Refactor line splitting code in the daemon, and fix it so it works.Richard Jones2009-05-121-0/+2
|
* Add generated code for 'fsck' command.Richard Jones2009-04-301-0/+3
|
* catsprintf leaks, use open_memstream instead.Richard W.M. Jones2009-04-231-8/+0
|
* Implement extensible strings with catprintf.Richard W.M. Jones2009-04-231-0/+8
|
* Various fixes to the daemon:Richard Jones2009-04-201-4/+15
| | | | | | - make sure SIGPIPE doesn't kill us - warn not to use macros in FileIn functions - add shell_quote function
* Implement upload and download commands.Richard Jones2009-04-201-10/+19
|
* Implement NEED_ROOT_OR_IS_DEVICE macro.Richard Jones2009-04-191-0/+13
|
* Implement _send_sync, _send_file_sync and _receive_file_sync.Richard Jones2009-04-191-0/+7
|
* Rewrite of main loop impl, start of FileIn/FileOut support.Richard Jones2009-04-181-5/+20
|
* Added test suite.Richard Jones2009-04-111-3/+28
|
* CHROOT_OUT must preserve errno.Richard Jones2009-04-101-3/+7
|
* pvs/vgs/lvs commands working now.Richard Jones2009-04-071-0/+5
|
* Implement list-devices and list-partitions.Richard Jones2009-04-061-0/+2
|
* Implementations of 'cat', 'ls', and some cleanups.Richard Jones2009-04-061-2/+13
|
* Implement RString and RStringList return types.Richard Jones2009-04-041-0/+2
| | | | | - implement 'll' command. - outlines for 'ls' and 'cat' commands.
* Implemented 'mount' and 'touch' commands.Richard Jones2009-04-031-0/+22
|
* Makes a series of non-trivial calls.Richard Jones2009-04-031-1/+3
|
* Daemon and library are mostly talking to each other now.Richard Jones2009-04-031-0/+41