]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/shm.h
SourceFormat Enforcement
[thirdparty/squid.git] / compat / shm.h
index d1b66bd4260246c741d66042077cf0b030105192..bc35300b450157a08c06238f5fef2bcff0ca63a2 100644 (file)
@@ -1,6 +1,11 @@
 /*
- * $Id$
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
+
 #ifndef SQUID_COMPAT_SHM_H
 #define SQUID_COMPAT_SHM_H
 
 
 extern "C" {
 
-inline int
-shm_open(const char *, int, mode_t) {
-    errno = ENOTSUP;
-    return -1;
-}
+    inline int
+    shm_open(const char *, int, mode_t) {
+        errno = ENOTSUP;
+        return -1;
+    }
 
-inline int
-shm_unlink(const char *) {
-    errno = ENOTSUP;
-    return -1;
-}
+    inline int
+    shm_unlink(const char *) {
+        errno = ENOTSUP;
+        return -1;
+    }
 
 } /* extern "C" */
 
 #endif /* HAVE_SHM */
 
+/// Determines whether segment names are iterpreted as full file paths.
+bool shm_portable_segment_name_is_path();
+
 #endif /* SQUID_COMPAT_CPU_H */
+