summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-11-22 16:08:00 +0100
committerPatrick McHardy <kaber@trash.net>2010-11-22 16:08:00 +0100
commit3dd2f8afdddf22687c4d8dc2639191119818c860 (patch)
treeb2764d23c069a2bc0415ced9eb2210fd7ed559c8 /include
parent102612d5aa32293b96043e187700e7abe7c7871c (diff)
raw: add dect_raw_close() function
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/dect/raw.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dect/raw.h b/include/dect/raw.h
index 39acad3..6c79e2b 100644
--- a/include/dect/raw.h
+++ b/include/dect/raw.h
@@ -15,7 +15,9 @@ struct dect_raw_ops {
struct dect_msg_buf *mb);
};
-extern struct dect_fd *dect_raw_socket(struct dect_handle *dh);
+extern struct dect_fd *dect_raw_open(struct dect_handle *dh);
+extern void dect_raw_close(struct dect_handle *dh, struct dect_fd *dfd);
+
extern ssize_t dect_raw_transmit(struct dect_handle *dh, struct dect_fd *dfd,
uint8_t slot, struct dect_msg_buf *mb);