• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 #ifndef HDF_SERVICE_STATUS_INNER_H
9 #define HDF_SERVICE_STATUS_INNER_H
10 
11 #include "hdf_service_status.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
16 
17 struct HdfSBuf;
18 
19 enum ServiceStatusListenerCmd {
20     SERVIE_STATUS_LISTENER_NOTIFY,
21     SERVIE_STATUS_LISTENER_MAX,
22 };
23 
24 int ServiceStatusMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf);
25 int ServiceStatusUnMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf);
26 
27 #ifdef __cplusplus
28 }
29 #endif /* __cplusplus */
30 #endif /* HDF_SERVICE_STATUS_INNER_H */