X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=remote.h;h=ac7d9dcf49d9ad6006ef44455853173b9d5c0cfe;hp=a2801da1dfc463d93a0b2e3e0000742ad434f816;hb=64bff41cb3ccdd60e767a5bb9ed8525d2dda1966;hpb=0dfc70e01ddb7d2bce0db03d5364c0bd3a2bb308 diff --git a/remote.h b/remote.h index a2801da..ac7d9dc 100644 --- a/remote.h +++ b/remote.h @@ -1,7 +1,6 @@ -/* Cumulus: Smart Filesystem Backup to Dumb Servers - * - * Copyright (C) 2008 The Regents of the University of California - * Written by Michael Vrable +/* Cumulus: Efficient Filesystem Backup to the Cloud + * Copyright (C) 2008 The Cumulus Developers + * See the AUTHORS file for a list of contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,10 +38,8 @@ class RemoteStore { public: static const size_t MAX_QUEUE_SIZE = 4; - RemoteStore(const std::string &stagedir); + RemoteStore(const std::string &stagedir, const std::string &script = ""); ~RemoteStore(); - void set_script(const std::string &script) - { backup_script = script; } RemoteFile *alloc_file(const std::string &name, const std::string &type); void enqueue(RemoteFile *file); void sync();