summaryrefslogtreecommitdiff
path: root/include/osmocom/abis/lapd_pcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/abis/lapd_pcap.h')
-rw-r--r--include/osmocom/abis/lapd_pcap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/abis/lapd_pcap.h b/include/osmocom/abis/lapd_pcap.h
index 1c0d555..36ddd7f 100644
--- a/include/osmocom/abis/lapd_pcap.h
+++ b/include/osmocom/abis/lapd_pcap.h
@@ -1,10 +1,14 @@
#ifndef _LAPD_PCAP_H_
#define _LAPD_PCAP_H_
+#include <sys/types.h>
+#include <osmocom/core/msgb.h>
+
#define OSMO_LAPD_PCAP_INPUT 0
#define OSMO_LAPD_PCAP_OUTPUT 1
int osmo_pcap_lapd_open(char *filename, mode_t mode);
+int osmo_pcap_lapd_set_fd(int fd);
int osmo_pcap_lapd_write(int fd, int direction, struct msgb *msg);
int osmo_pcap_lapd_close(int fd);