agent: move file download code into a function of its own

Signed-off-by: Olaf Kirch <okir@suse.de>
Protect ni_testbus_file objects with a magic number field

Signed-off-by: Olaf Kirch <okir@suse.de>
protocol.h: add NI_TESTBUS_CONTAINER_INTERFACE, NI_TESTBUS_TMPFILE_INTERFACE defines

Signed-off-by: Olaf Kirch <okir@suse.de>
When deleting an object in the master, broadcast a deleted() signal

Signed-off-by: Olaf Kirch <okir@suse.de>
When a file object is deleted on the master, discard our cached file data

Signed-off-by: Olaf Kirch <okir@suse.de>
Fix a bug in the client where we were trying to free stack memory

Signed-off-by: Olaf Kirch <okir@suse.de>
ni_process: record the exit_info inside the ni_process structure

Signed-off-by: Olaf Kirch <okir@suse.de>
Plug a memory leak in setExitInfo

Signed-off-by: Olaf Kirch <okir@suse.de>
Fix a bug in previous commit - we actually need to fill the exit_info in ni_process_reap

Signed-off-by: Olaf Kirch <okir@suse.de>
client: fix a race condition when waiting for a process to exit

when waiting for a process to exit, we were racing between establishing
the waitq structure and the reception of the processExited() signal.

Signed-off-by: Olaf Kirch <okir@suse.de>
Small fix to verify-runstress script

Signed-off-by: Olaf Kirch <okir@suse.de>