Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=c7bad320607f3a1a72baccd7480182e689298ecb

commit c7bad320607f3a1a72baccd7480182e689298ecb
Author: James Buren <r...@frugalware.org>
Date:   Mon Aug 3 06:35:05 2009 -0500

Pacman.c
* initial draft

diff --git a/Pacman.c b/Pacman.c
new file mode 100644
index 0000000..2d2f860
--- /dev/null
+++ b/Pacman.c
@@ -0,0 +1,12 @@
+#include <pacman.h>
+#include <stdbool.h>
+
+bool pm_init(void) {
+       return !pacman_initialize(PM_ROOT);
+}
+
+bool pm_free(void) {
+       return !pacman_release();
+}
+
+/* -%- indent-width:4; tab-width:4 -%- */
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to