add missing licence headers
[ust.git] / ustd / ustd.h
index 5be186adb10fcc35ef13eefef341a1f7ec6997f3..d0e6fe58bd0325096280ca2f90854ce7158dbf0e 100644 (file)
@@ -1,3 +1,20 @@
+/* Copyright (C) 2009  Pierre-Marc Fournier
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 #ifndef USTD_H
 #define USTD_H
 
@@ -30,6 +47,9 @@ struct buffer_info {
        long consumed_old;
 
        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);
This page took 0.022411 seconds and 4 git commands to generate.