summaryrefslogtreecommitdiff
path: root/sys/ddb/db_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb/db_var.h')
-rw-r--r--sys/ddb/db_var.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/sys/ddb/db_var.h b/sys/ddb/db_var.h
index a51c7dff108..439cd0c15eb 100644
--- a/sys/ddb/db_var.h
+++ b/sys/ddb/db_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_var.h,v 1.1 1996/03/11 11:16:27 mickey Exp $ */
+/* $OpenBSD: db_var.h,v 1.2 1996/03/30 04:51:29 mickey Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff. All rights reserved.
@@ -40,4 +40,30 @@
#define DB_HISTORY_SIZE 4000
#endif
+#define DBCTL_RADIX 1
+#define DBCTL_MAXWIDTH 2
+#define DBCTL_MAXLINE 3
+#define DBCTL_TABSTOP 4
+#define DBCTL_MAXID 5
+
+#define CTL_DDB_NAMES { \
+ { NULL, 0 }, \
+ { "radix", CTLTYPE_INT }, \
+ { "max_width", CTLTYPE_INT }, \
+ { "max_line", CTLTYPE_INT }, \
+ { "tab_stop_width", CTLTYPE_INT },\
+}
+
+#ifdef _KERNEL
+extern u_int db_maxoff;
+extern int db_radix;
+extern int db_max_width;
+extern int db_tab_stop_width;
+extern int db_max_line;
+
+int ddb_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
+ struct proc *));
+#endif
+
#endif /* _DDB_DB_VAR_H_ */
+