diff options
Diffstat (limited to 'cpp/slice/IcePatch2/FileInfo.ice')
-rw-r--r-- | cpp/slice/IcePatch2/FileInfo.ice | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cpp/slice/IcePatch2/FileInfo.ice b/cpp/slice/IcePatch2/FileInfo.ice new file mode 100644 index 00000000000..876b3ddb60b --- /dev/null +++ b/cpp/slice/IcePatch2/FileInfo.ice @@ -0,0 +1,45 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_PATCH2_FILE_INFO_ICE +#define ICE_PATCH2_FILE_INFO_ICE + +#include <Ice/BuiltinSequences.ice> + +module IcePatch2 +{ + +/** + * + * Basic information about a single file. + * + **/ +struct FileInfo +{ + /** The pathname. **/ + string path; + + /** The SHA-1 checksum of the file. **/ + Ice::ByteSeq checksum; + + /** The size of the compressed file in number of bytes. **/ + int size; +}; + +/** + * + * A sequence with information about many files. + * + **/ +sequence<FileInfo> FileInfoSeq; + +}; + +#endif + |