initial load of upstream version 1.06.32
[xmlrpc-c] / include / xmlrpc-c / util_int.h
diff --git a/include/xmlrpc-c/util_int.h b/include/xmlrpc-c/util_int.h
new file mode 100644 (file)
index 0000000..4ac3e14
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef XMLRPC_C_UTIL_INT_H_INCLUDED
+#define XMLRPC_C_UTIL_INT_H_INCLUDED
+
+#include "util.h"
+
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+
+/* When we deallocate a pointer in a struct, we often replace it with
+** this and throw in a few assertions here and there. */
+#define XMLRPC_BAD_POINTER ((void*) 0xDEADBEEF)
+
+#endif