/* ====================================================================
 * Copyright (c) 2003-2006, Martin Hauner
 *                          http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _LINE_END_H
#define _LINE_END_H

/**
 * line ending types.
 */

enum LineEnd
{
  leNone,   ///< unset
  leLF,     ///< unix   (0x0a)
  leCR,     ///< ???    (0x0d)   
  leCRLF    ///< dos    (0x0d,0x0a)
};

const char sLF[]   = "\x0a";
const char sCR[]   = "\x0d";
const char sCRLF[] = "\x0d\x0a";

#endif // _LINE_END_H


syntax highlighted by Code2HTML, v. 0.9.1