src/ls-ascii-helper.h
changeset 7685 34b75a47e712
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ls-ascii-helper.h	Wed Mar 18 15:23:14 2009 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +/*
     1.5 +
     1.6 +Copyright (C) 2003, 2005, 2006, 2007 John W. Eaton
     1.7 +
     1.8 +This file is part of Octave.
     1.9 +
    1.10 +Octave is free software; you can redistribute it and/or modify it
    1.11 +under the terms of the GNU General Public License as published by the
    1.12 +Free Software Foundation; either version 3 of the License, or (at your
    1.13 +option) any later version.
    1.14 +
    1.15 +Octave is distributed in the hope that it will be useful, but WITHOUT
    1.16 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.17 +FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.18 +for more details.
    1.19 +
    1.20 +You should have received a copy of the GNU General Public License
    1.21 +along with Octave; see the file COPYING.  If not, see
    1.22 +<http://www.gnu.org/licenses/>.
    1.23 +
    1.24 +*/
    1.25 +
    1.26 +#if !defined (octave_ls_ascii_helper_h)
    1.27 +#define octave_ls_ascii_helper_h 1
    1.28 +
    1.29 +#include <iosfwd>
    1.30 +#include <string>
    1.31 +
    1.32 +#include "oct-dlldefs.h"
    1.33 +
    1.34 +extern OCTINTERP_API void
    1.35 +skip_until_newline( std::istream& is, bool keep_newline = false );
    1.36 +
    1.37 +extern OCTINTERP_API void
    1.38 +skip_preceeding_newline( std::istream& is );
    1.39 +
    1.40 +extern OCTINTERP_API std::string
    1.41 +read_until_newline( std::istream& is, bool keep_newline = false );
    1.42 +
    1.43 +#endif  // !defined (octave_ls_ascii_helper_h)