Add mbtk_source git commit info
Change-Id: I9867613657db269bba81d28c4b3712062ae41bdd
diff --git a/mbtk/mbtk_rild_v2/inc/ril_info.h b/mbtk/mbtk_rild_v2/inc/ril_info.h
index 896a73c..595d603 100755
--- a/mbtk/mbtk_rild_v2/inc/ril_info.h
+++ b/mbtk/mbtk_rild_v2/inc/ril_info.h
@@ -26,6 +26,7 @@
#define MBTK_APN_PROP "persist.mbtk.apn"
#define MBTK_DEF_ROUTE_CID "persist.mbtk.def_route_cid"
+#define MBTK_DEF_DNS_CID "persist.mbtk.def_dns_cid"
typedef struct
{
@@ -104,11 +105,19 @@
typedef struct {
mbtk_ril_cid_enum cid_for_def_route;
+ mbtk_ril_cid_enum cid_for_dns;
int num;
mbtk_apn_info_t apns[MBTK_APN_CID_MAX];
} ril_apn_info_array_t;
+typedef struct
+{
+ int cid;
+ bool act;
+ bool waitting;
+} ril_cgact_wait_t;
+
extern ril_info_t ril_info;
@@ -121,4 +130,8 @@
bool is_ipv4(const char *ip);
+int net_ifc_config(mbtk_ril_cid_enum cid, bool def_route, bool as_dns, mbtk_ip_info_t *ip_info);
+
+int net_ifc_reconfig(mbtk_ril_cid_enum cid, bool def_route, bool as_dns, mbtk_ip_info_t *ip_info);
+
#endif /* _RIL_INFO_H */