summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp.h
diff options
context:
space:
mode:
authorKristen Carlson Accardi <kristen@linux.intel.com>2010-04-02 11:13:20 -0700
committerDenis Kenzior <denkenz@gmail.com>2010-04-02 13:05:47 -0500
commit74e1abd353a934c18b289accc6c79ec63cf8d59b (patch)
treef6af02359a3de80fdb43802d83ddefb00275fb6f /gatchat/ppp.h
parent1ed6966cb4a4907afbe1494f621a1fa104f8daf2 (diff)
downloadofono-74e1abd353a934c18b289accc6c79ec63cf8d59b.tar.bz2
ppp: use queue to transmit
Since we are using non buffered I/O, use a queue to transmit when buffer space is available.
Diffstat (limited to 'gatchat/ppp.h')
-rw-r--r--gatchat/ppp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gatchat/ppp.h b/gatchat/ppp.h
index f2b41754..1262c120 100644
--- a/gatchat/ppp.h
+++ b/gatchat/ppp.h
@@ -135,10 +135,12 @@ struct _GAtPPP {
gpointer connect_data;
GAtDisconnectFunc disconnect_cb;
gpointer disconnect_data;
- gint modem_watch;
+ gint read_watch;
+ gint write_watch;
GAtDebugFunc debugf;
gpointer debug_data;
int record_fd;
+ GQueue *xmit_queue;
};
void ppp_generate_event(GAtPPP *ppp, enum ppp_event event);