blob: effcd995f9068d11d66e47e2edb52a10781be1e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// 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.
//
// @file
// Utility functions to be called on the Broker Module object.
#ifndef CEEE_IE_BROKER_BROKER_MODULE_UTIL_H__
#define CEEE_IE_BROKER_BROKER_MODULE_UTIL_H__
namespace ceee_module_util {
// Locks the module to prevent it from being terminated.
//
// @return The new module ref count, but only for debugging purposes.
LONG LockModule();
// Unlocks the module to allow it to be terminated appropriately.
//
// @return The new module ref count, but only for debugging purposes.
LONG UnlockModule();
} // namespace
#endif // CEEE_IE_BROKER_BROKER_MODULE_UTIL_H__
|