2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
5 * Generates librsync signatures for strings given on the command line and
12 #include "wvsyncstring.h"
19 wvcon
->print("Type something. Ctrl-D to quit.\n");
21 while ((line
= wvcon
->blocking_getline(-1)))
23 WvSyncString
rstr("foo", line
);
29 size_t size
= buf
.used();
30 wvcon
->print("Signature is %s bytes.\n", size
);
31 wvcon
->print(hexdump_buffer(buf
.get(size
), size
));