summaryrefslogtreecommitdiffstats
path: root/src/arch/probe.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/arch/probe.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/probe.h b/src/arch/probe.h
new file mode 100644
index 000000000..a789c4e86
--- /dev/null
+++ b/src/arch/probe.h
@@ -0,0 +1,16 @@
+#ifndef CEPH_ARCH_PROBE_H
+#define CEPH_ARCH_PROBE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int ceph_arch_probed; /* non-zero if we've probed features */
+
+extern int ceph_arch_probe(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif