/* Automagical Data Logger code V1.01 19/8/04
   Copyright 2008 Jeffrey Lee
   This file is part of WOUM.
   WOUM is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   WOUM is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
   along with WOUM.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _AMDL_H
#define _AMDL_H

/* Number of columns in output */
#define AMDL_COLS 32

extern void amdl_on();
/* Turn logging on
*/

extern void amdl_off();
/* Turn logging off
*/

extern void amdl_abs(int column,char *format, ...);
/* Send output to a certain column. Sending multiple outputs to the same column will cause it to be printed on seperate lines
*/

extern void amdl_rel(int ofs,char *format, ...);
/* Send output to a column, relative to the current one. Sending multiple outputs to the same column will cause it to be printed on seperate lines.
*/

extern void amdl_flush();
/* Flush the current line to disc
*/

#endif
