From 40b3f64b55f98e03b3173541b8d94cd924099223 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 30 Nov 2006 19:19:59 +0000 Subject: * Skeleton of the privileged worker program. * Some refactoring: put the NAR archive integer/string serialisation code in a separate file so it can be reused by the worker protocol implementation. --- src/libstore/local-store.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstore/local-store.cc') diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 2ae4437623a6..aa8166d7eeaf 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -173,7 +173,7 @@ void createStoreTransaction(Transaction & txn) /* Path copying. */ -struct CopySink : DumpSink +struct CopySink : Sink { string s; virtual void operator () (const unsigned char * data, unsigned int len) @@ -183,7 +183,7 @@ struct CopySink : DumpSink }; -struct CopySource : RestoreSource +struct CopySource : Source { string & s; unsigned int pos; -- cgit 1.4.1