struct value_pair {
const char *ival; /* string option */
unsigned int oval; /* output value */
+ const char *help; /* help text for sub option */
};
#define PARSE_MAX_VP 16
#define td_var(start, offset) ((void *) start + (offset))
+#ifndef min
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#endif
+#ifndef max
+#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
#endif