summaryrefslogtreecommitdiffstats
path: root/userspace/ncrypto_internal.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-23 20:28:32 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-23 20:28:32 +0200
commitb3fcd1e159bf7bd5b318d4558198fca090deb2fe (patch)
treed1821ce0be2ede05bc3417bcba2ace0e2002e250 /userspace/ncrypto_internal.h
parentc3eeccf6491c632037dfef737f3e40ed24e5bf72 (diff)
parenta3fe06856efe0a7b4ad713ff73a14f6af995d07e (diff)
downloadcryptodev-linux-integration.tar.gz
cryptodev-linux-integration.tar.xz
cryptodev-linux-integration.zip
Merge branch 'userspace' into integrationintegration
Conflicts: examples/Makefile
Diffstat (limited to 'userspace/ncrypto_internal.h')
-rw-r--r--userspace/ncrypto_internal.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/userspace/ncrypto_internal.h b/userspace/ncrypto_internal.h
new file mode 100644
index 0000000..1a60631
--- /dev/null
+++ b/userspace/ncrypto_internal.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2010 Red Hat, Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY RED HAT, INC. AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL RED HAT, INC. OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGE.
+ *
+ * Red Hat author: Miloslav Trmač <mitr@redhat.com>
+ */
+
+#ifndef NCRYPTO_INTERNAL_H__
+#define NCRYPTO_INTERNAL_H__
+
+extern int __ncr_file_descriptor __attribute__((visibility ("hidden")));
+
+extern int __ncr_global_init(void) __attribute__((visibility ("hidden")));
+
+#endif