2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
5 * Generates a librsync signature for a file named on the command line
12 #include "wvsyncfile.h"
14 int main(int argc
, char *argv
[])
18 wvcon
->print("Usage: %s filename\n", argv
[0]);
22 WvSyncFile
rfile(argv
[1], "");
30 size_t size
= buf
.used();
31 wvcon
->print("Signature is %s bytes.\n", size
);
32 wvcon
->print(hexdump_buffer(buf
.get(size
), size
));