/usr/include/nodejs/src/node_lttng.h is in nodejs-dev 8.10.0~dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #ifndef SRC_NODE_LTTNG_H_
#define SRC_NODE_LTTNG_H_
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "node.h"
#include "v8.h"
#include "env.h"
extern "C" {
typedef struct {
int32_t fd;
int32_t port;
const char* remote;
int32_t buffered;
} node_lttng_connection_t;
typedef struct {
const char* url;
const char* method;
} node_lttng_http_client_request_t;
typedef struct {
union {
uint32_t version;
uintptr_t unused; /* for compat. with old 64-bit struct */
} _un;
const char* url;
const char* method;
const char* forwarded_for;
const char* _pad[8];
} node_lttng_http_server_request_t;
} // extern "C"
namespace node {
void InitLTTNG(Environment* env, v8::Local<v8::Object> target);
} // namespace node
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#endif // SRC_NODE_LTTNG_H_
|