From 0ebccf08fb250434035e4ebb373b195e419d1074 Mon Sep 17 00:00:00 2001 From: mdw Date: Wed, 30 Jan 2002 09:27:38 +0000 Subject: [PATCH] New global header file, declares trace codes. --- jog.h | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 jog.h diff --git a/jog.h b/jog.h new file mode 100644 index 0000000..9d26310 --- /dev/null +++ b/jog.h @@ -0,0 +1,62 @@ +/* -*-c-*- + * + * $Id: jog.h,v 1.1 2002/01/30 09:27:38 mdw Exp $ + * + * Global header file + * + * (c) 2002 Mark Wooding + */ + +/*----- Licensing notice --------------------------------------------------* + * + * This file is part of Jog: Programming for a jogging machine. + * + * Jog 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 2 of the License, or + * (at your option) any later version. + * + * Jog 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 Jog; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/*----- Revision history --------------------------------------------------* + * + * $Log: jog.h,v $ + * Revision 1.1 2002/01/30 09:27:38 mdw + * New global header file, declares trace codes. + * + */ + +#ifndef JOG_H +#define JOG_H + +#ifdef __cplusplus + extern "C" { +#endif + +/*----- Header files ------------------------------------------------------*/ + +#include + +/*----- Magic constants ---------------------------------------------------*/ + +/* --- Tracing settings --- */ + +#define T_TX 1u /* Tracing transport */ +#define T_TXSYS 2u /* Low-level transport */ +#define T_ALL (T_TX | T_TXSYS) + +/*----- That's all, folks -------------------------------------------------*/ + +#ifdef __cplusplus + } +#endif + +#endif -- 2.11.0