/*
- * $Id$
+ * Copyright (C) 1996-2017 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 */
+