Sha256: a681971ca029822578847ca0f8ea4f1e9942334a58b73a4857db757d3549100f

Contents?: true

Size: 667 Bytes

Versions: 7

Compression:

Stored size: 667 Bytes

Contents

/* curb_multi.h - Curl easy mode
 * Copyright (c)2008 Todd A. Fisher.
 * Licensed under the Ruby License. See LICENSE for details.
 *
 * $Id$
 */
#ifndef __CURB_MULTI_H
#define __CURB_MULTI_H

#include "curb.h"
#include "curb_easy.h"
#include <curl/multi.h>

typedef struct {
  int active;
  int running;
  VALUE requests; /* hash of handles currently added */
  CURLM *handle;
} ruby_curl_multi;

extern VALUE cCurlMulti;
void init_curb_multi();
VALUE ruby_curl_multi_new(VALUE klass);
VALUE ruby_curl_multi_perform(int argc, VALUE *argv, VALUE self);
VALUE ruby_curl_multi_add(VALUE self, VALUE easy);
VALUE ruby_curl_multi_remove(VALUE self, VALUE easy);


#endif

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
taf2-curb-0.5.0.0 ext/curb_multi.h
taf2-curb-0.5.1.0 ext/curb_multi.h
taf2-curb-0.5.2.0 ext/curb_multi.h
taf2-curb-0.5.4.0 ext/curb_multi.h
curb-0.5.7.0 ext/curb_multi.h
curb-0.5.4.0 ext/curb_multi.h
curb-0.5.1.0 ext/curb_multi.h