-/**************************************
- * Those symbols must be initialized first in deviced
- *
- * The usb-gadget source code have been scattered throughout the deviced and device-common.
- * Because of this, it might have been implemented that totally same data structure on the
- * both side. To avoid this inefficiency, define/initialize the data structure on the
- * deviced first, and device-common refer it through extern keyword. The deviced must have
- * cflag -rdynamic or ldflag --export-dynamic so that the dlopen-ed device-common can refer
- * those variables with extern keyword.
- *
- * Accessing symbol in this way would be removed when the usb-gadget of the device-common
- * is integrated into the deviced.
- */
-#include <glib.h>
-#include <hal/device/hal-usb_gadget-interface.h>
-
-struct _usb_mode_mapping_table {
- int mode_v; /* Integer defined by vconf */
- unsigned int mode; /* Bitmap of usb function combination */
- struct usb_gadget_attrs attrs;
-};
-extern GList *usb_mode_mapping_table_custom;
-
-struct service_config {
- char name[128];
- int remain_after_disable;
-};
-extern GList *service_config_list;
-/**************************************/