diff options
Diffstat (limited to 'rilsrc/libsecril-shim/secril-shim.h')
-rw-r--r-- | rilsrc/libsecril-shim/secril-shim.h | 17 |
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__ */ |