From e07c0dcf5c128875bf8af740b2c4bc81918713c9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Sep 2016 10:54:57 +0200 Subject: Move some .drv parsing functions out of util --- src/libutil/util.hh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 819921dfff..69c723ad2e 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -334,20 +334,6 @@ bool hasPrefix(const string & s, const string & prefix); bool hasSuffix(const string & s, const string & suffix); -/* Read string `s' from stream `str'. */ -void expect(std::istream & str, const string & s); - -MakeError(FormatError, Error) - - -/* Read a C-style string from stream `str'. */ -string parseString(std::istream & str); - - -/* Utility function used to parse legacy ATerms. */ -bool endOfList(std::istream & str); - - /* Escape a string that contains octal-encoded escape codes such as used in /etc/fstab and /proc/mounts (e.g. "foo\040bar" decodes to "foo bar"). */ -- cgit 1.4.1