Code Sync up from tizen_2.4
[platform/core/telephony/tel-plugin-imcmodem.git] / include / vnet.h
index d6a3af4..5c81e6c 100644 (file)
@@ -1,7 +1,9 @@
 /*
  * tel-plugin-imcmodem
  *
- * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved.
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Kyoungyoup Park <gynaru.park@samsung.com>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef __VNET_H__
-#define __VNET_H__
+#ifndef _VNET_H_
+#define _VNET_H_
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 /* CP states */
-typedef enum {
+enum vnet_cp_state {
        VNET_CP_STATE_UNKNOWN = -1,
        VNET_CP_STATE_OFFLINE = 0,
        VNET_CP_STATE_CRASH_RESET,
@@ -33,19 +35,19 @@ typedef enum {
        VNET_CP_STATE_ONLINE,
        VNET_CP_STATE_NV_REBUILDING,
        VNET_CP_STATE_LOADER_DONE,
-} VnetCpState;
+};
 
-void vnet_start_cp_ramdump(void);
-void vnet_start_cp_reset(void);
+void vnet_start_cp_ramdump( void );
+void vnet_start_cp_reset( void );
 
-VnetCpState vnet_get_cp_state(int fd);
+enum vnet_cp_state vnet_get_cp_state( int fd );
 
-int vnet_rfs0_open(void);
-int vnet_ipc0_open(void);
+int vnet_rfs0_open( void );
+int vnet_ipc0_open( void );
 
 
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */
 
-#endif /* __VNET_H__ */
+#endif /* _VNET_H_ */