1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

* Flags to indicate how values are specified on the command line

(--hash, --file, --name).
This commit is contained in:
Eelco Dolstra 2003-06-20 14:11:31 +00:00
parent 5079ccb455
commit 85effedca3
4 changed files with 137 additions and 64 deletions

View file

@ -46,3 +46,13 @@ struct DumpSink
};
void dumpPath(const string & path, DumpSink & sink);
struct ReadSource
{
/* The callee should store exactly *len bytes in the buffer
pointed to by data. It should block if that much data is not
yet available, or throw an error if it is not going to be
available. */
virtual void operator () (const unsigned char * data, unsigned int len) = 0;
};