mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
340 B
29 lines
340 B
14 years ago
|
#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;
|
||
|
} 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
|