/* Curb - Libcurl(3) bindings for Ruby. * Copyright (c)2006 Ross Bamford. * Licensed under the Ruby License. See LICENSE for details. * * $Id: curb.h 39 2006-12-23 15:28:45Z roscopeco $ */ #ifndef __CURB_H #define __CURB_H #include #include #include "curb_easy.h" #include "curb_errors.h" #include "curb_postfield.h" #include "curb_macros.h" // These should be managed from the Rake 'release' task. #define CURB_VERSION "0.1.4" #define CURB_VER_NUM 140 #define CURB_VER_MAJ 0 #define CURB_VER_MIN 1 #define CURB_VER_MIC 4 #define CURB_VER_PATCH 0 // Maybe not yet defined in Ruby #ifndef RSTRING_LEN #define RSTRING_LEN(x) RSTRING(x)->len #endif extern VALUE mCurl; extern void Init_curb_core(); #endif