diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04 21:06:23 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-04 21:06:23 +0000 |
commit | 75068e7d753cf6cbe45a4bf294000dca9bd41d8b (patch) | |
tree | c6274cc10caab08349b5585206034f41ca4a575f /src/libutil/archive.hh | |
parent | aab88127321344d5818d823bff515d127108d058 (diff) |
* Use a proper namespace.
* Optimise header file usage a bit.
* Compile the parser as C++.
Diffstat (limited to 'src/libutil/archive.hh')
-rw-r--r-- | src/libutil/archive.hh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh index b498c95c1..f85d589c6 100644 --- a/src/libutil/archive.hh +++ b/src/libutil/archive.hh @@ -1,6 +1,10 @@ -#include <string> +#ifndef __ARCHIVE_H +#define __ARCHIVE_H -#include "util.hh" +#include "types.hh" + + +namespace nix { /* dumpPath creates a Nix archive of the specified path. The format @@ -61,3 +65,9 @@ struct RestoreSource }; void restorePath(const Path & path, RestoreSource & source); + + +} + + +#endif /* !__ARCHIVE_H */ |