PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/tel-plugin-imcmodem/include/vnet.h

https://review.tizen.org/git/
C Header | 54 lines | 23 code | 12 blank | 19 comment | 0 complexity | 207b9e0559e31d1d687e96c3417d0352 MD5 | raw file
Possible License(s): GPL-3.0, AGPL-3.0, GPL-2.0, MPL-2.0, JSON, WTFPL, CC-BY-SA-4.0, CC-BY-3.0, BSD-3-Clause, LGPL-2.0, MPL-2.0-no-copyleft-exception, AGPL-1.0, 0BSD, Zlib, Unlicense, BSD-2-Clause, Apache-2.0, LGPL-3.0, ISC, MIT, CC-BY-SA-3.0, CC0-1.0, LGPL-2.1
  1. /*
  2. * tel-plugin-imcmodem
  3. *
  4. * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
  5. *
  6. * Contact: Kyoungyoup Park <gynaru.park@samsung.com>
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. #ifndef _VNET_H_
  21. #define _VNET_H_
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. enum vnet_cp_state {
  26. VNET_CP_STATE_OFFLINE,
  27. VNET_CP_STATE_CRASH_RESET,
  28. VNET_CP_STATE_CRASH_EXIT,
  29. VNET_CP_STATE_BOOTING,
  30. VNET_CP_STATE_ONLINE,
  31. VNET_CP_STATE_NV_REBUILDING,
  32. VNET_CP_STATE_LOADER_DONE,
  33. };
  34. void vnet_start_cp_ramdump( void );
  35. void vnet_start_cp_reset( void );
  36. int vnet_get_cp_state( int fd );
  37. int vnet_rfs0_open( void );
  38. int vnet_ipc0_open( void );
  39. #ifdef __cplusplus
  40. }
  41. #endif /* __cplusplus */
  42. #endif