remove dependency on ustcomm.h where possible
[ust.git] / libustd / libustd.h
index f08ce721147c157f568ac787d17ddb064d62d9ff..762fc7136fb040f661b81b4773935ef037133171 100644 (file)
 
 #include <pthread.h>
 #include <dirent.h>
-#include "ustcomm.h"
+#include <ust/kcompat/kcompat.h>
 
 #define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
 
+struct ustcomm_connection;
+struct ustcomm_ustd;
+
 struct buffer_info {
        const char *name;
        pid_t pid;
-       struct ustcomm_connection conn;
+       struct ustcomm_connection *conn;
 
        int shmid;
        int bufstruct_shmid;
@@ -70,7 +73,7 @@ struct libustd_instance {
        struct libustd_callbacks *callbacks;
        int quit_program;
        int is_init;
-       struct ustcomm_ustd comm;
+       struct ustcomm_ustd *comm;
        char *sock_path;
        pthread_mutex_t mutex;
        int active_buffers;
This page took 0.02247 seconds and 4 git commands to generate.