Rename for the new liburcu API namespace
[ust.git] / include / ust / ustd.h
index 5fec7f96084a9754d3ab0d8711c6957a45b71d2f..6336e696414ba06debe0a1a5d8b734ef5b2d54a2 100644 (file)
 #include <pthread.h>
 #include <dirent.h>
 #include <ust/kcompat/kcompat.h>
+#include <urcu/list.h>
 
 #define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
 
-struct ustcomm_connection;
-struct ustcomm_ustd;
+struct ustcomm_sock;
 
 struct buffer_info {
-       const char *name;
+       char *name;
+       char *trace;
+       char *channel;
+       int channel_cpu;
+
        pid_t pid;
-       struct ustcomm_connection *conn;
+       int app_sock;
+       /* The pipe file descriptor */
+       int pipe_fd;
 
        int shmid;
        int bufstruct_shmid;
@@ -73,7 +79,9 @@ struct libustd_instance {
        struct libustd_callbacks *callbacks;
        int quit_program;
        int is_init;
-       struct ustcomm_ustd *comm;
+       struct cds_list_head connections;
+       int epoll_fd;
+       struct ustcomm_sock *listen_sock;
        char *sock_path;
        pthread_mutex_t mutex;
        int active_buffers;
This page took 0.025316 seconds and 4 git commands to generate.