kernelcompat: remove old definitions that are now unused
[ust.git] / ustd / ustd.h
index 7296813add08db322bbd48b7f1375682e8e0809a..d8c4c506facde2b6fe3cfb12dedbde6edccad93d 100644 (file)
@@ -3,8 +3,10 @@
 
 #include "ustcomm.h"
 
+#define USTD_DEFAULT_TRACE_PATH "/tmp/usttrace"
+
 struct buffer_info {
-       char *name;
+       const char *name;
        pid_t pid;
        struct ustcomm_connection conn;
 
@@ -25,13 +27,15 @@ struct buffer_info {
 
        int file_fd; /* output file */
 
-       struct list_head list;
-
        long consumed_old;
-};
 
-ssize_t patient_write(int fd, const void *buf, size_t count);
+       s64 pidunique;
+
+       /* the offset we must truncate to, to unput the last subbuffer */
+       off_t previous_offset;
+};
 
 void finish_consuming_dead_subbuffer(struct buffer_info *buf);
+size_t subbuffer_data_size(void *subbuf);
 
 #endif /* USTD_H */
This page took 0.034319 seconds and 4 git commands to generate.