aboutsummaryrefslogtreecommitdiff
path: root/libmpio/debug.h
diff options
context:
space:
mode:
authorcrunchy <crunchy>2003-04-23 08:53:23 +0000
committercrunchy <crunchy>2003-04-23 08:53:23 +0000
commitc7bffe3021abde4f8f2866a25cf29160627aa3f8 (patch)
tree318f33fa39b4b8cf5887c78012ddc9cae58d0a17 /libmpio/debug.h
parent4412ca091e6379def8bc836163c6b580df76619c (diff)
downloadmpiosh-c7bffe3021abde4f8f2866a25cf29160627aa3f8.tar.gz
mpiosh-c7bffe3021abde4f8f2866a25cf29160627aa3f8.tar.bz2
mpiosh-c7bffe3021abde4f8f2866a25cf29160627aa3f8.zip
restructuring part 2
Diffstat (limited to 'libmpio/debug.h')
-rw-r--r--libmpio/debug.h110
1 files changed, 0 insertions, 110 deletions
diff --git a/libmpio/debug.h b/libmpio/debug.h
deleted file mode 100644
index 09ae078..0000000
--- a/libmpio/debug.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * debug.h
- *
- * Author: Dirk Meyer <dmeyer@tzi.de>
- * Andreas Büsching <crunchy@tzi.de>
- *
- * $Id: debug.h,v 1.2 2002/10/26 13:07:43 germeier Exp $
- */
-
-#ifndef _MPIO_DEBUG_H_
-#define _MPIO_DEBUG_H_
-
-// if DPACKAGE is not definied use PACKAGE or "unknown"
-
-#ifndef DPACKAGE
-
-#ifdef PACKAGE
-#define DPACKAGE PACKAGE
-#else
-#define DPACKAGE unknown
-#endif
-
-#endif
-
-#include <stdio.h>
-
-#ifdef sun
-#include <sys/int_types.h>
-#else
-#include <stdint.h>
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef PBOOL
-#define PBOOL(x) (x)?"True":"False"
-#endif
-
-#define UNUSED(x) (x = x)
-
-#define debugn(n,args...) \
- _debug_n(DPACKAGE, n, __FILE__, __LINE__, __FUNCTION__, args)
-
-#define debug(args...) \
- _debug(DPACKAGE, __FILE__, __LINE__, __FUNCTION__, args)
-
-#define debug_error(fatal,args...) \
- _error(DPACKAGE, __FILE__, __LINE__, __FUNCTION__, fatal, args)
-
-#define hexdump(data,len) \
- _hexdump(DPACKAGE, __FILE__, __LINE__, __FUNCTION__, data, len)
-
-#define hexdumpn(n,data,len) \
- _hexdump_n(DPACKAGE, n, __FILE__, __LINE__, __FUNCTION__, data, len)
-
-#define hexdump_text(text,data,len) \
- _hexdump_text(text, DPACKAGE, __FILE__, __LINE__, __FUNCTION__, data, len)
-
-#define octetstrdump(data,len) \
- _octetstr(DPACKAGE, __FILE__, __LINE__, __FUNCTION__, data, len)
-
-#define ipadr_dump(data,len,text) \
- _octetstr(DPACKAGE, __FILE__, __LINE__, __FUNCTION__, data, len, text)
-
-#define use_debug() \
- use_debug(DPACKAGE)
-
-
-#define with_special_debug(what) \
- _use_debug(DPACKAGE, what)
-
-void debug_init(void);
-int debug_file(char *filename);
-int debug_level(int level);
-int debug_level_get(void);
-
-void _debug(const char *package, const char* file, int line,
- const char* function, const char *format, ...);
-
-void _debug_n(const char *package, const int n, const char* file,
- int line, const char* function, const char *format, ...);
-
-void _hexdump (const char *package, const char* file, int line,
- const char* function, const char* data, int len);
-
-void _hexdump_n (const char *package, const int n, const char* file, int line,
- const char* function, const char* data, int len);
-
-void _hexdump_text (const char *text,
- const char *package, const char* file, int line,
- const char* function, const char* data, int len);
-
-void _error(const char *package, const char* file, int line,
- const char* function, int fatal, const char *format, ...);
-
-void _octetstr(const char *package, const char* file, int line,
- const char* function, const uint8_t *str,
- const unsigned int len, const char *what);
-
-int _use_debug(int level);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _MPIO_DEBUG_H_ */
-
-/* end of debug.h */