view 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 source
#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;
}