aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/socket.h')
-rw-r--r--include/openbsc/socket.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/openbsc/socket.h b/include/openbsc/socket.h
index 4d316114..0fd85f10 100644
--- a/include/openbsc/socket.h
+++ b/include/openbsc/socket.h
@@ -1,14 +1,14 @@
#ifndef _BSC_SOCKET_H
#define _BSC_SOCKET_H
-#include <sys/types.h>
-#include <osmocore/select.h>
+#include <osmocom/core/select.h>
#ifndef IPPROTO_GRE
#define IPPROTO_GRE 47
#endif
-int make_sock(struct bsc_fd *bfd, int proto, u_int32_t ip, u_int16_t port,
- int (*cb)(struct bsc_fd *fd, unsigned int what));
+int make_sock(struct osmo_fd *bfd, int proto,
+ uint32_t ip, uint16_t port, int priv_nr,
+ int (*cb)(struct osmo_fd *fd, unsigned int what), void *data);
#endif /* _BSC_SOCKET_H */