summaryrefslogtreecommitdiff
path: root/gisi/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'gisi/socket.h')
-rw-r--r--gisi/socket.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/gisi/socket.h b/gisi/socket.h
index e2618092..d983e4b9 100644
--- a/gisi/socket.h
+++ b/gisi/socket.h
@@ -19,9 +19,7 @@
*
*/
-#include "modem.h"
-
-GIOChannel *phonet_new(GIsiModem *, uint8_t resource);
-size_t phonet_peek_length(GIOChannel *io);
-ssize_t phonet_read(GIOChannel *io, void *restrict buf, size_t len,
- uint16_t *restrict obj, uint8_t *restrict res);
+GIOChannel *g_isi_phonet_new(unsigned int ifindex);
+size_t g_isi_phonet_peek_length(GIOChannel *io);
+ssize_t g_isi_phonet_read(GIOChannel *io, void *restrict buf, size_t len,
+ struct sockaddr_pn *addr);