projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'ba01fa44feb6deb0f0359f381eafe866991c06c1' into pablo/namespace
[osmocom-bb.git]
/
src
/
shared
/
libosmocore
/
include
/
osmocom
/
core
/
select.h
diff --git
a/src/shared/libosmocore/include/osmocom/core/select.h
b/src/shared/libosmocore/include/osmocom/core/select.h
index
5ca21c3
..
476c564
100644
(file)
--- a/
src/shared/libosmocore/include/osmocom/core/select.h
+++ b/
src/shared/libosmocore/include/osmocom/core/select.h
@@
-7,16
+7,16
@@
#define BSC_FD_WRITE 0x0002
#define BSC_FD_EXCEPT 0x0004
#define BSC_FD_WRITE 0x0002
#define BSC_FD_EXCEPT 0x0004
-struct
bsc
_fd {
+struct
osmo
_fd {
struct llist_head list;
int fd;
unsigned int when;
struct llist_head list;
int fd;
unsigned int when;
- int (*cb)(struct
bsc
_fd *fd, unsigned int what);
+ int (*cb)(struct
osmo
_fd *fd, unsigned int what);
void *data;
unsigned int priv_nr;
};
void *data;
unsigned int priv_nr;
};
-int
bsc_register_fd(struct bsc
_fd *fd);
-void
bsc_unregister_fd(struct bsc
_fd *fd);
-int
bsc
_select_main(int polling);
+int
osmo_fd_register(struct osmo
_fd *fd);
+void
osmo_fd_unregister(struct osmo
_fd *fd);
+int
osmo
_select_main(int polling);
#endif /* _BSC_SELECT_H */
#endif /* _BSC_SELECT_H */