Author: sandervanderburg
Date: Thu Oct 14 12:47:51 2010
New Revision: 24287
URL: https://svn.nixos.org/websvn/nix/?rev=24287&sc=1

Log:
Added exec_realise function

Modified:
   disnix/disnix/trunk/src/libinterface/client-interface.h

Modified: disnix/disnix/trunk/src/libinterface/client-interface.h
==============================================================================
--- disnix/disnix/trunk/src/libinterface/client-interface.h     Thu Oct 14 
12:38:40 2010        (r24286)
+++ disnix/disnix/trunk/src/libinterface/client-interface.h     Thu Oct 14 
12:47:51 2010        (r24287)
@@ -127,4 +127,15 @@
  */ 
 pid_t exec_copy_closure_to(gchar *interface, gchar *target, gchar *component);
 
+/**
+ * Invokes the realise operation through a Disnix client interface
+ *
+ * @param interface Path to the interface executable
+ * @param target Target Address of the remote interface
+ * @param derivation Derivation to build
+ * @param pipefd Pipe which can be used to capture the output of the process
+ * @return PID of the client interface process performing the operation, or -1 
in case of a failure
+ */
+pid_t exec_realise(gchar *interface, gchar *target, gchar *derivation, int 
pipefd[2]);
+
 #endif
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to