From 9fd5a57b64a19cf9850fcd3a333fb926f2bf1a44 Mon Sep 17 00:00:00 2001 From: tick Date: Sat, 1 Dec 2007 01:57:09 +0000 Subject: gsmd: Severe clean-up (Andrzej Zaborowski) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3546 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/gsmd/usock.h | 4 ++-- include/libgsmd/libgsmd.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h index 370553e..a4e5e41 100644 --- a/include/gsmd/usock.h +++ b/include/gsmd/usock.h @@ -620,8 +620,8 @@ extern int usock_init(struct gsmd *g); extern void usock_cmd_enqueue(struct gsmd_ucmd *ucmd, struct gsmd_user *gu); extern struct gsmd_ucmd *usock_build_event(u_int8_t type, u_int8_t subtype, u_int16_t len); extern int usock_evt_send(struct gsmd *gsmd, struct gsmd_ucmd *ucmd, u_int32_t evt); -extern struct gsmd_ucmd *gsmd_ucmd_fill(int len, u_int8_t msg_type, - u_int8_t msg_subtype, u_int16_t id); +extern int gsmd_ucmd_submit(struct gsmd_user *gu, u_int8_t msg_type, + u_int8_t msg_subtype, u_int16_t id, int len, const void *data); #endif /* __GSMD__ */ diff --git a/include/libgsmd/libgsmd.h b/include/libgsmd/libgsmd.h index fc56890..f260ae2 100644 --- a/include/libgsmd/libgsmd.h +++ b/include/libgsmd/libgsmd.h @@ -66,5 +66,7 @@ extern int lgsm_subscriptions(struct lgsm_handle *lh, u_int32_t subscriptions); extern struct gsmd_msg_hdr *lgsm_gmh_fill(int type, int subtype, int payload_len); extern int lgsm_send(struct lgsm_handle *lh, struct gsmd_msg_hdr *gmh); extern int lgsm_handle_packet(struct lgsm_handle *lh, char *buf, int len); +extern int lgsm_blocking_wait_packet(struct lgsm_handle *lh, u_int16_t id, + struct gsmd_msg_hdr *gmh, int rlen); #endif -- cgit v1.2.3