[Frugalware-darcs] setup: copyied the foo plugin to skel for later template

VMiklos vmiklos at frugalware.org
Fri Mar 31 00:48:09 CEST 2006


[copyied the foo plugin to skel for later template
VMiklos <vmiklos at frugalware.org>**20051101233948] {
addfile ./src/plugins/skel.c
hunk ./src/plugins/skel.c 1
+#include <stdio.h>
+
+#include <setup.h>
+#include "foo.h"
+
+plugin_t plugin =
+{
+	"foo",
+	main,
+	NULL // dlopen handle
+};
+
+plugin_t *info()
+{
+	return &plugin;
+}
+
+int main(void)
+{
+	printf("foo\n");
+	return(0);
+}
addfile ./src/plugins/skel.h
hunk ./src/plugins/skel.h 1
+plugin_t *info();
+int main(void);
}


More information about the Frugalware-darcs mailing list