summaryrefslogtreecommitdiff
path: root/wodim/defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'wodim/defaults.h')
-rw-r--r--wodim/defaults.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/wodim/defaults.h b/wodim/defaults.h
new file mode 100644
index 0000000..3a5c8f8
--- /dev/null
+++ b/wodim/defaults.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2006 Eduard Bloch
+ *
+ * This code emulates the interface of the original defaults.c file. However,
+ * it improves its behaviour and deals with corner cases: prepended and
+ * trailing spaces on variable and value, no requirement for using TABs
+ * anymore. No requirements to insert dummy values like -1 or "".
+ *
+ */
+#ifndef _DEFAULTS_H_
+#define _DEFAULTS_H_
+extern int getnum(char *arg, long *valp);
+void cdr_defaults(char **p_dev_name, int *p_speed, long *p_fifosize, char **p_drv_opts);
+#endif