rhack 1.2.1 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +21 -9
- data/ext/curb/curb.c +977 -977
- data/ext/curb/curb.h +52 -52
- data/ext/curb/curb_config.h +270 -270
- data/ext/curb/curb_easy.c +3437 -3434
- data/ext/curb/curb_easy.h +94 -94
- data/ext/curb/curb_errors.c +647 -647
- data/ext/curb/curb_errors.h +129 -129
- data/ext/curb/curb_macros.h +162 -162
- data/ext/curb/curb_multi.c +704 -702
- data/ext/curb/curb_multi.h +26 -26
- data/ext/curb/curb_postfield.c +523 -523
- data/ext/curb/curb_postfield.h +40 -40
- data/ext/curb/curb_upload.c +80 -80
- data/ext/curb/curb_upload.h +30 -30
- data/ext/curb-original/curb.c +977 -977
- data/ext/curb-original/curb.h +52 -52
- data/ext/curb-original/curb_config.h +238 -238
- data/ext/curb-original/curb_easy.c +3404 -3404
- data/ext/curb-original/curb_easy.h +90 -90
- data/ext/curb-original/curb_errors.c +647 -647
- data/ext/curb-original/curb_errors.h +129 -129
- data/ext/curb-original/curb_macros.h +159 -159
- data/ext/curb-original/curb_multi.c +633 -633
- data/ext/curb-original/curb_multi.h +26 -26
- data/ext/curb-original/curb_postfield.c +523 -523
- data/ext/curb-original/curb_postfield.h +40 -40
- data/ext/curb-original/curb_upload.c +80 -80
- data/ext/curb-original/curb_upload.h +30 -30
- data/lib/rhack/clients/base.rb +61 -10
- data/lib/rhack/clients/oauth.rb +4 -4
- data/lib/rhack/curl/easy.rb +1 -0
- data/lib/rhack/curl/global.rb +2 -0
- data/lib/rhack/curl/response.rb +4 -2
- data/lib/rhack/frame.rb +70 -32
- data/lib/rhack/js/browser/env.js +697 -697
- data/lib/rhack/js/browser/jquery.js +7180 -7180
- data/lib/rhack/js/browser/xmlsax.js +1564 -1564
- data/lib/rhack/js/browser/xmlw3cdom_1.js +1443 -1443
- data/lib/rhack/js/browser/xmlw3cdom_2.js +2744 -2744
- data/lib/rhack/page.rb +227 -68
- data/lib/rhack/scout.rb +52 -26
- data/lib/rhack/scout_squad.rb +10 -2
- data/lib/rhack/version.rb +1 -1
- data/rhack.gemspec +1 -1
- metadata +17 -17
@@ -1,26 +1,26 @@
|
|
1
|
-
/* curb_multi.h - Curl easy mode
|
2
|
-
* Copyright (c)2008 Todd A. Fisher.
|
3
|
-
* Licensed under the Ruby License. See LICENSE for details.
|
4
|
-
*
|
5
|
-
* $Id$
|
6
|
-
*/
|
7
|
-
#ifndef __CURB_MULTI_H
|
8
|
-
#define __CURB_MULTI_H
|
9
|
-
|
10
|
-
#include "curb.h"
|
11
|
-
#include "curb_easy.h"
|
12
|
-
#include <curl/multi.h>
|
13
|
-
|
14
|
-
typedef struct {
|
15
|
-
int active;
|
16
|
-
int running;
|
17
|
-
VALUE requests; /* hash of handles currently added */
|
18
|
-
CURLM *handle;
|
19
|
-
} ruby_curl_multi;
|
20
|
-
|
21
|
-
extern VALUE cCurlMulti;
|
22
|
-
void init_curb_multi();
|
23
|
-
VALUE ruby_curl_multi_new(VALUE klass);
|
24
|
-
|
25
|
-
|
26
|
-
#endif
|
1
|
+
/* curb_multi.h - Curl easy mode
|
2
|
+
* Copyright (c)2008 Todd A. Fisher.
|
3
|
+
* Licensed under the Ruby License. See LICENSE for details.
|
4
|
+
*
|
5
|
+
* $Id$
|
6
|
+
*/
|
7
|
+
#ifndef __CURB_MULTI_H
|
8
|
+
#define __CURB_MULTI_H
|
9
|
+
|
10
|
+
#include "curb.h"
|
11
|
+
#include "curb_easy.h"
|
12
|
+
#include <curl/multi.h>
|
13
|
+
|
14
|
+
typedef struct {
|
15
|
+
int active;
|
16
|
+
int running;
|
17
|
+
VALUE requests; /* hash of handles currently added */
|
18
|
+
CURLM *handle;
|
19
|
+
} ruby_curl_multi;
|
20
|
+
|
21
|
+
extern VALUE cCurlMulti;
|
22
|
+
void init_curb_multi();
|
23
|
+
VALUE ruby_curl_multi_new(VALUE klass);
|
24
|
+
|
25
|
+
|
26
|
+
#endif
|