projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add winsock support to live for mingw
[babeltrace.git]
/
plugins
/
ctf
/
lttng-live
/
viewer-connection.h
diff --git
a/plugins/ctf/lttng-live/viewer-connection.h
b/plugins/ctf/lttng-live/viewer-connection.h
index 822c17ed3b874820aa6dc29a06fa3736e3e9c3e0..bb9c2852f023055832e2e613774b37551d2d5ab8 100644
(file)
--- a/
plugins/ctf/lttng-live/viewer-connection.h
+++ b/
plugins/ctf/lttng-live/viewer-connection.h
@@
-27,6
+27,7
@@
#include <glib.h>
#include <babeltrace/babeltrace-internal.h>
#include <glib.h>
#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/compat/socket-internal.h>
//TODO: this should not be used by plugins. Should copy code into plugin
//instead.
//TODO: this should not be used by plugins. Should copy code into plugin
//instead.
@@
-37,22
+38,24
@@
#define LTTNG_LIVE_MAJOR 2
#define LTTNG_LIVE_MINOR 4
#define LTTNG_LIVE_MAJOR 2
#define LTTNG_LIVE_MINOR 4
+struct lttng_live_component;
+
struct bt_live_viewer_connection {
struct bt_object obj;
struct bt_live_viewer_connection {
struct bt_object obj;
- FILE *error_fp;
-
GString *url;
GString *relay_hostname;
GString *target_hostname;
GString *session_name;
GString *url;
GString *relay_hostname;
GString *target_hostname;
GString *session_name;
-
int
control_sock;
+
BT_SOCKET
control_sock;
int port;
int32_t major;
int32_t minor;
int port;
int32_t major;
int32_t minor;
+
+ struct lttng_live_component *lttng_live;
};
struct packet_index_time {
};
struct packet_index_time {
@@
-75,7
+78,7
@@
struct packet_index {
};
struct bt_live_viewer_connection *
};
struct bt_live_viewer_connection *
- bt_live_viewer_connection_create(const char *url,
FILE *error_fp
);
+ bt_live_viewer_connection_create(const char *url,
struct lttng_live_component *lttng_live
);
void bt_live_viewer_connection_destroy(struct bt_live_viewer_connection *conn);
void bt_live_viewer_connection_destroy(struct bt_live_viewer_connection *conn);
This page took
0.026512 seconds
and
4
git commands to generate.