summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/ppp.h')
-rw-r--r--ppapi/c/ppp.h33
1 files changed, 26 insertions, 7 deletions
diff --git a/ppapi/c/ppp.h b/ppapi/c/ppp.h
index 2f3a19a..173f8fa 100644
--- a/ppapi/c/ppp.h
+++ b/ppapi/c/ppp.h
@@ -20,8 +20,6 @@
* Defines the API ...
*
* {PENDING: undefine PP_EXPORT?}
- * @addtogroup PPP
- * @{
*/
/* We don't want name mangling for these external functions. We only need
@@ -32,31 +30,52 @@ extern "C" {
#endif
/**
+ * @addtogroup Functions
+ * @{
+ */
+
+/**
* Entrypoint for the module.
*
* Returns PP_OK on success, any other value on failure. Failure indicates to
* the browser that this plugin can not be used. In this case, the plugin will
* be unloaded and ShutdownModule will NOT be called.
- */
+ *
+*/
PP_EXPORT int32_t PPP_InitializeModule(PP_Module module,
PPB_GetInterface get_browser_interface);
+/**
+ * @}
+ */
+
+/**
+ * @addtogroup Functions
+ * @{
+ */
/** Called before the plugin module is unloaded. */
PP_EXPORT void PPP_ShutdownModule();
+/**
+ * @}
+ */
+
+/**
+ * @addtogroup Functions
+ * @{
+ */
/**
* Returns an interface pointer for the interface of the given name, or NULL
* if the interface is not supported. Interface names should be ASCII.
*/
PP_EXPORT const void* PPP_GetInterface(const char* interface_name);
+/**
+ * @}
+ */
#ifdef __cplusplus
} /* extern "C" */
#endif
-/**
- * @}
- * End addtogroup PPP
- */
#endif /* PPAPI_C_PPP_H_ */