X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=src%2Fshared%2Flibosmocore%2Finclude%2Fosmocom%2Fcore%2Fselect.h;fp=src%2Fshared%2Flibosmocore%2Finclude%2Fosmocom%2Fcore%2Fselect.h;h=476c564ee2c69c2a977a55219bf44b6b95b36b6d;hb=6f9af5945e855dab4810641dc72eff6a24c30a77;hp=5ca21c3e25ce6a2233c78609c30d3045fe247e38;hpb=a5611f9555fb288149c01371411a1405aa61056e;p=osmocom-bb.git diff --git a/src/shared/libosmocore/include/osmocom/core/select.h b/src/shared/libosmocore/include/osmocom/core/select.h index 5ca21c3..476c564 100644 --- 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 -struct bsc_fd { +struct osmo_fd { 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; }; -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 */