Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=d3757475bd66057a0205a0ef4b4d8f761561272f

commit d3757475bd66057a0205a0ef4b4d8f761561272f
Author: James Buren <[email protected]>
Date:   Fri Aug 10 16:55:16 2012 -0500

wee

diff --git a/fwsetup.c b/fwsetup.c
new file mode 100644
index 0000000..86217df
--- /dev/null
+++ b/fwsetup.c
@@ -0,0 +1,13 @@
+#include "fwsetup.h"
+
+extern int main(void)
+{
+  struct database db = {0};
+
+#ifdef NEWT
+#endif
+
+  return EXIT_SUCCESS;
+}
+
+// -%- strip: yes; add-newline: yes; use-tabs: no; indent-width: 2; tab-width: 
2; -%-
diff --git a/fwsetup.h b/fwsetup.h
new file mode 100644
index 0000000..73645ac
--- /dev/null
+++ b/fwsetup.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdbool.h>
+#include <stdarg.h>
+#include <unistd.h>
+#include <assert.h>
+
+#ifdef NEWT
+#include <newt.h>
+
+struct database
+{
+  int screen_width;
+  int screen_height;
+  int window_width;
+  int window_height;
+  int window_x;
+  int window_y;
+};
+#else
+#error "No known user interface is defined."
+#endif
+
+struct module
+{
+  bool (*run) (struct database *);
+};
+
+extern int main(void);
+
+// -%- strip: yes; add-newline: yes; use-tabs: no; indent-width: 2; tab-width: 
2; -%-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to