1 : /*
2 : * Copyright 2008 The Native Client 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 : /*
8 : * Gather ye all module initializations and finalizations needed by
9 : * the NRD transfer protocol code here.
10 : */
11 :
12 : #include "native_client/src/trusted/desc/nrd_all_modules.h"
13 : #include "native_client/src/trusted/desc/nacl_desc_invalid.h"
14 : #include "native_client/src/shared/platform/platform_init.h"
15 :
16 3 : void NaClNrdAllModulesInit(void) {
17 : /*
18 : * NaClLogModuleInit examines NACLLOG and NACLVERBOSITY environment
19 : * variables.
20 : */
21 3 : NaClPlatformInit();
22 3 : NaClDescInvalidInit();
23 3 : }
24 :
25 0 : void NaClNrdAllModulesFini(void) {
26 0 : NaClDescInvalidFini();
27 0 : NaClPlatformFini();
28 0 : }
|