diff src/c/openid.c @ 0:3c209338e596

Ur/Web module initializes libcurl
author Adam Chlipala <adam@chlipala.net>
date Sun, 26 Dec 2010 12:04:08 -0500
parents
children c230e6da3ff6
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/c/openid.c	Sun Dec 26 12:04:08 2010 -0500
@@ -0,0 +1,10 @@
+#include <openssl/sha.h>
+#include <curl/curl.h>
+
+#include <urweb/urweb.h>
+
+uw_unit uw_OpenidFfi_init(uw_context ctx) {
+  curl_global_init(CURL_GLOBAL_ALL);
+
+  return uw_unit_v;
+}