summaryrefslogtreecommitdiffstats
path: root/gisi/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'gisi/client.h')
-rw-r--r--gisi/client.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gisi/client.h b/gisi/client.h
index 7046f31e..e5ba01d8 100644
--- a/gisi/client.h
+++ b/gisi/client.h
@@ -27,6 +27,7 @@ extern "C" {
#endif
#include <stdint.h>
+#include <glib/gtypes.h>
#include <gisi/modem.h>
struct _GIsiClient;
@@ -72,6 +73,17 @@ GIsiRequest *g_isi_request_vmake(GIsiClient *client, const struct iovec *iov,
size_t iovlen, unsigned timeout,
GIsiResponseFunc func, void *opaque);
+GIsiRequest *g_isi_send(GIsiClient *client, const void *data, size_t len,
+ unsigned timeout,
+ GIsiResponseFunc func, void *opaque,
+ GDestroyNotify notify);
+
+GIsiRequest *g_isi_vsend(GIsiClient *client,
+ const struct iovec *iov, size_t iovlen,
+ unsigned timeout,
+ GIsiResponseFunc func, void *opaque,
+ GDestroyNotify notify);
+
void g_isi_request_cancel(GIsiRequest *req);
int g_isi_subscribe(GIsiClient *client, uint8_t type,