summaryrefslogtreecommitdiffstats
path: root/gatchat/gathdlc.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-11 07:01:14 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-04-11 07:01:14 +0200
commit46e77907b37d18a78b5f76b8e0b8f2d76331444f (patch)
treec2093de562c657a6da7c908e4b94d667a749150c /gatchat/gathdlc.h
parent6ddf8743184c7ab4e918db781798e7b0ace569c9 (diff)
downloadofono-46e77907b37d18a78b5f76b8e0b8f2d76331444f.tar.bz2
Use a ring buffer for non-blocking HDLC output streams
Diffstat (limited to 'gatchat/gathdlc.h')
-rw-r--r--gatchat/gathdlc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gathdlc.h b/gatchat/gathdlc.h
index 2b7166a3..a295f08d 100644
--- a/gatchat/gathdlc.h
+++ b/gatchat/gathdlc.h
@@ -41,7 +41,7 @@ void g_at_hdlc_set_debug(GAtHDLC *hdlc, GAtDebugFunc func, gpointer user_data);
void g_at_hdlc_set_receive(GAtHDLC *hdlc, GAtReceiveFunc func,
gpointer user_data);
-gboolean g_at_hdlc_send(GAtHDLC *hdlc, const unsigned char *buf, gsize len);
+gboolean g_at_hdlc_send(GAtHDLC *hdlc, const unsigned char *data, gsize size);
#ifdef __cplusplus
}