mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
Added state marshall functions in RemoteStore.cc (still unfinished in Nix-worker.cc)
This commit is contained in:
parent
bdcce95a39
commit
2e7539bd27
18 changed files with 423 additions and 224 deletions
|
|
@ -98,11 +98,22 @@ void writeInt(unsigned int n, Sink & sink);
|
|||
void writeString(const string & s, Sink & sink);
|
||||
void writeStringSet(const StringSet & ss, Sink & sink);
|
||||
|
||||
void writeIntVector(const IntVector & iv, Sink & sink);
|
||||
void writeRevisionClosure(const RevisionClosure & rc, Sink & sink);
|
||||
void writeSnapshots(const Snapshots & ss, Sink & sink);
|
||||
void writeRevisionClosureTS(const RevisionClosureTS & rc, Sink & sink);
|
||||
void writeRevisionInfos(const RevisionInfos & ri, Sink & sink);
|
||||
|
||||
void readPadding(unsigned int len, Source & source);
|
||||
unsigned int readInt(Source & source);
|
||||
string readString(Source & source);
|
||||
StringSet readStringSet(Source & source);
|
||||
|
||||
IntVector readIntVector(Source & source);
|
||||
RevisionClosure readRevisionClosure(Source & source);
|
||||
Snapshots readSnapshots(Source & source);
|
||||
RevisionClosureTS readRevisionClosureTS(Source & source);
|
||||
RevisionInfos readRevisionInfos(Source & source);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue