summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/ppb.h')
-rw-r--r--ppapi/c/ppb.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ppapi/c/ppb.h b/ppapi/c/ppb.h
new file mode 100644
index 0000000..1f525cd
--- /dev/null
+++ b/ppapi/c/ppb.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_C_PPB_H_
+#define PPAPI_C_PPB_H_
+
+/**
+ * @file
+ * Defines the API ...
+ *
+ * @addtogroup PPB
+ * @{
+ */
+
+/**
+ * Returns an interface pointer for the interface of the given name, or NULL
+ * if the interface is not supported. Interface names should be ASCII.
+ */
+typedef const void* (*PPB_GetInterface)(const char* interface_name);
+
+/**
+ * @}
+ * End addtogroup PPB
+ */
+#endif // PPAPI_C_PPB_H_