aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/socket.h
diff options
context:
space:
mode:
authorJonathan Santos <jrsantos@jonathanrsantos.com>2011-08-17 15:34:52 -0400
committerJonathan Santos <jrsantos@jonathanrsantos.com>2011-08-17 15:34:52 -0400
commit3688ffd53669cdcb7975fd879ed92fceaf7d5572 (patch)
treec40e568bfd82527aca63d200fd87369fcb1044c7 /include/openbsc/socket.h
parent57ae3aa2563252f6f867c6016ed74f57fd54ec3a (diff)
parent5a45b156d4165fed159a290c46676d1383ffcc80 (diff)
Merge commit 'upstream/0.9.14'
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 4d3161146..0fd85f104 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 */