summaryrefslogtreecommitdiff
path: root/src/node_dtrace.h
blob: a3f75d0a0ac167ccb66e3fc98f5173b6edd4c32f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef NODE_DTRACE_H_
#define NODE_DTRACE_H_

#include <node.h>
#include <v8.h>

extern "C" {

typedef struct {
	int32_t fd;
	int32_t port;
	char *remote;
	int32_t buffered;
} node_dtrace_connection_t;

typedef struct {
	char *url;
	char *method;
} node_dtrace_http_request_t;

}

namespace node {

void InitDTrace(v8::Handle<v8::Object> target);

}

#endif