]> granicus.if.org Git - check/commitdiff
Moved magic values to separate header
authoramalec <amalec@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 28 Aug 2001 17:06:05 +0000 (17:06 +0000)
committeramalec <amalec@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 28 Aug 2001 17:06:05 +0000 (17:06 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@86 64e312b2-a51f-0410-8e61-82d0ca0eb02a

check/src/check_magic.h [new file with mode: 0644]

diff --git a/check/src/check_magic.h b/check/src/check_magic.h
new file mode 100644 (file)
index 0000000..f4b2b7a
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef CHECK_MAGIC_H
+#define CHECK_MAGIC_H
+
+/*
+  Check: a unit test framework for C
+  Copyright (C) 2001, Arien Malec
+
+  This program 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.
+
+  This program 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 this program; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*/
+
+/* This header should be included by any module that needs
+   to know Check magic values.
+*/
+
+/* magic values */
+
+enum {
+  MAXLINE = 9999, /* maximum line no */
+  CMAXMSG = 100   /* maximum length of a message, including terminating nul */
+};
+
+#endif /*CHECK_MAGIC_H*/