aboutsummaryrefslogtreecommitdiffstats
path: root/rilsrc/libsecril-shim/secril-shim.h
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-09-08 22:00:15 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-09-25 18:54:51 +0200
commit178f58281d40eaa2fc18a18293614040d4277270 (patch)
treef64cc43e416e9ed2c052da381a59aa003be84501 /rilsrc/libsecril-shim/secril-shim.h
parent9bec50660dd955910c2cbe2ab19d47be36a9364e (diff)
downloaddevice_samsung_espresso3g-178f58281d40eaa2fc18a18293614040d4277270.zip
device_samsung_espresso3g-178f58281d40eaa2fc18a18293614040d4277270.tar.gz
device_samsung_espresso3g-178f58281d40eaa2fc18a18293614040d4277270.tar.bz2
libsecril-shim: fix RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
Remove the extra (unused) element from the operator info, freaking out the framework. Formerly, this is know as the mQANElements override. Change-Id: I2f2ed984383a6656bfd39d419f0b8702d66a7e16
Diffstat (limited to 'rilsrc/libsecril-shim/secril-shim.h')
-rw-r--r--rilsrc/libsecril-shim/secril-shim.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/rilsrc/libsecril-shim/secril-shim.h b/rilsrc/libsecril-shim/secril-shim.h
index ad409db..a938f4b 100644
--- a/rilsrc/libsecril-shim/secril-shim.h
+++ b/rilsrc/libsecril-shim/secril-shim.h
@@ -21,4 +21,21 @@
extern const char * requestToString(int request);
+/* TODO: Do we really need to redefine these? They aren't in a header... */
+typedef struct {
+ int requestNumber;
+ void (*dispatchFunction) (void *p, void *pRI);
+ int(*responseFunction) (void *p, void *response, size_t responselen);
+} CommandInfo;
+
+typedef struct RequestInfo {
+ int32_t token;
+ CommandInfo *pCI;
+ struct RequestInfo *p_next;
+ char cancelled;
+ char local;
+ RIL_SOCKET_ID socket_id;
+ int wasAckSent;
+} RequestInfo;
+
#endif /* __SECRIL_SHIM_H__ */