* limitations under the License.
*/
-
#ifndef __TIZEN_NETWORK_SERIAL_PRIVATE_H__
#define __TIZEN_NETWORK_SERIAL_PRIVATE_H__
* @internal
* @brief Serial callback.
*/
- typedef struct _serial_event_s
- {
- const void *callback;
- void *user_data;
- } serial_event_s;
-
+ typedef struct _serial_event_s {
+ const void *callback;
+ void *user_data;
+ } serial_event_s;
/**
* @internal
* @brief Serial handle
*/
- typedef struct _serial_s{
- DBusGConnection *client_bus;
- int client_socket;
- int g_watch_id;
- serial_event_s state_handler;
- serial_event_s data_handler;
- void *handle;
-}serial_s;
+ typedef struct _serial_s {
+ DBusGConnection *client_bus;
+ int client_socket;
+ int g_watch_id;
+ serial_event_s state_handler;
+ serial_event_s data_handler;
+ void *handle;
+ } serial_s;
/**
* @internal
* @brief dbus signal from socket server
*/
-typedef enum {
- SERIAL_CLOSED, /* Serial session closed */
- SERIAL_OPENED, /* Serial session opened */
-}serial_event_e;
-
+ typedef enum {
+ SERIAL_CLOSED, /* Serial session closed */
+ SERIAL_OPENED, /* Serial session opened */
+ } serial_event_e;
#ifdef __cplusplus
}
#endif
-
-#endif /* __TIZEN_NETWORK_SERIAL_PRIVATE_H__ */
+#endif /* __TIZEN_NETWORK_SERIAL_PRIVATE_H__ */