Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ppapi / native_client / src / untrusted / irt_stub / ppapi_start.h
1 /*
2  * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6
7 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_STUB_PPAPI_START_H_
8 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_STUB_PPAPI_START_H_ 1
9
10 #include "ppapi/nacl_irt/irt_ppapi.h"
11
12 /*
13  * Start PPAPI using the given set of callbacks to invoke the application code.
14  * This returns nonzero on setup failure.  On success, it returns only when
15  * the PPAPI event loop has terminated, then returning zero.
16  */
17 int PpapiPluginStart(const struct PP_StartFunctions *funcs);
18
19 #endif