Cygwin: Pass file paths instead of file descriptors over UNIX sockets
[lttng-ust.git] / libringbuffer / shm_types.h
index 08226bdd214cae5e65ae0a4af6b26bc57078d3bf..a311f1cdd0adf7aea3fcbb8cfd6f1cd7eb47c1a5 100644 (file)
@@ -4,9 +4,21 @@
 /*
  * libringbuffer/shm_types.h
  *
- * Copyright 2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * 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; only
+ * version 2.1 of the License.
+ *
+ * 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
  */
 
 #include <stdint.h>
 struct channel;
 
 struct shm_object {
-       size_t index;   /* within the object table */
-       int shm_fd;     /* shm fd */
-       int wait_fd[2]; /* fd for wait/wakeup */
+       size_t index;         /* within the object table */
+       int shm_fd;           /* shm fd */
+       char *shm_path;       /* shm path */
+       int wait_fd[2];       /* fd for wait/wakeup */
+       char *wait_pipe_path; /* named pipe path for wait/wakeup */
        char *memory_map;
        int is_shadow;
        size_t memory_map_size;
This page took 0.023404 seconds and 4 git commands to generate.