diff --git a/cli_output.c b/cli_output.c
new file mode 100644
index 0000000..2ced043
--- /dev/null
+++ b/cli_output.c
@@ -0,0 +1,51 @@
+/*
+ * This file is part of the flashrom project.
+ *
+ * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+#include <stdio.h>
+#include <stdarg.h>
+#include "flash.h"
+
+int print(int type, const char *fmt, ...)
+{
+	va_list ap;
+	int ret;
+	FILE *output_type;
+	
+	switch (type)
+	{
+	case MSG_ERROR:
+		output_type = stderr;
+		break;
+	case MSG_BARF:
+		if (verbose < 2) return 0;
+	case MSG_DEBUG:
+		if (verbose < 1) return 0;
+	case MSG_INFO:
+	default:
+		output_type = stdout;
+		break;
+	}
+	
+	va_start(ap, fmt);
+	ret = vfprintf(output_type, fmt, ap);
+	va_end(ap);
+	return ret;
+}
+
