Sha256: f14837b06633fe927f0042c7379e6905b7682b86d037f344ebf20a7ae5b25db8

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 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(VALUE self);
VALUE ruby_curl_multi_add(VALUE self, VALUE easy);
VALUE ruby_curl_multi_remove(VALUE self, VALUE easy);


#endif

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
taf2-curb-0.4.8.0 ext/curb_multi.h
taf2-curb-0.4.9.0 ext/curb_multi.h
curb-0.4.8.0 ext/curb_multi.h