Skip to content

glean-dev/ocurl

This branch is 2 commits ahead of, 103 commits behind ygrek/ocurl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d69b07c · Mar 7, 2020
Dec 28, 2019
Jun 22, 2015
Nov 13, 2019
Feb 27, 2020
Feb 13, 2020
May 28, 2012
Jun 22, 2015
Dec 30, 2019
Jul 17, 2017
Feb 13, 2020
Jan 26, 2012
May 7, 2017
Mar 7, 2020
Jun 6, 2011
Mar 7, 2020
Mar 7, 2020
Mar 7, 2020
Mar 7, 2020
Mar 7, 2020
Feb 18, 2018
Feb 18, 2018
Jul 17, 2017
Oct 13, 2009
Dec 28, 2019
Jun 24, 2015

Repository files navigation

ocurl - OCaml libcurl bindings

Build Status Build status

Homepage: https://ygrek.org.ua/p/ocurl

OCaml bindings to libcurl - client-side URL transfer library, supporting HTTP and a multitude of other network protocols. This is a continuation of ocurl project by Lars Nilsson, previously hosted at http://ocurl.sourceforge.net/

Minimum supported libcurl version : 7.28.0

Building on Windows with ocaml/msvc

Requirements

Build

Edit Makefile.msvc and make CURLDIR variable point to the root directory of libcurl installation. Copy config.h.windows to config.h.

Compile with make -f Makefile.msvc. Install with make -f Makefile.msvc install. Compile examples with make -f Makefile.msvc examples.

Adding new libcurl symbol

  • add symbol in configure.ac
  • autoreconf
  • make clean
  • ./configure
  • edit curl-helper.c and curl.ml*

Making release

  • Check make gen with latest libcurl
  • Update CHANGES.txt
  • Update version in configure.ac
  • autoreconf
  • commit
  • ./configure && make release

ygrek at autistici dot org

Packages

No packages published

Languages

  • C 52.0%
  • OCaml 38.6%
  • M4 4.1%
  • Shell 2.8%
  • Makefile 2.5%