libosmocore/include/osmocom/core
Philipp Maier b288853ffa select: add functionality to check socket state
osmo_fd_register() is used to register socket file descriptors,
after registering a socket, there is no way to test if the socket
is still registered or actually registered at all.

This commit adds a new function osmo_fd_register_check() that can
be used to check in advance, if the socket fd is registered,
before performing further operations.

Change-Id: I48ec7098d6bba586c81bf0d5c9088108e2c081c6
2017-02-07 13:39:00 +01:00
..
application.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
backtrace.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
bitXXgen.h.tpl comments 2015-10-09 00:01:06 +02:00
bitcomp.h bitcomp: Remove the t4 decoding from libosmocore 2016-11-10 17:07:45 +00:00
bits.h Add octet-aligned/unaligned shift functions 2016-06-20 19:02:56 +02:00
bitvec.h bitvec: Ensure bitvec.h and bitvec.c agree on function argument type 2017-01-15 18:04:02 +01:00
conv.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
crc16.h add CRC16-CCITT to libosmocore 2016-12-23 22:16:08 +01:00
crcXXgen.h.tpl include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
crcgen.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
defs.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
endian.h Fixing build on Mac OSX 2016-05-28 16:59:56 +00:00
fsm.h Add osmo_fsm_find_by_name() and avoid registering FSM with same name 2017-01-07 12:20:59 +00:00
gsmtap.h gsmtap: Add GSMTAP_TYPE_QC_DIAG 2017-01-09 13:19:16 +01:00
gsmtap_util.h Update doxygen annotations in libosmocore 2016-05-05 18:49:27 +02:00
linuxlist.h linuxlist.h: add llist_count() 2017-01-21 01:12:32 +01:00
linuxrbtree.h fix FSF address in sources/headers 2015-11-12 13:46:05 +01:00
logging.h logging: remove code duplication 2017-01-16 14:12:13 +00:00
loggingrb.h sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ 2014-10-26 20:52:25 +01:00
macaddr.h Convert recently-introduced header files to #pragma once 2014-08-21 15:42:44 +02:00
msgb.h msgb: add msgb_push_u{8,16,32}() functions 2016-11-11 19:28:32 +01:00
msgfile.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
panic.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
plugin.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
prim.h comment typo 2016-01-18 10:44:36 +01:00
process.h merge process.[ch] with application.[ch] 2011-06-26 14:14:05 +02:00
rate_ctr.h Update doxygen annotations in libosmocore 2016-05-05 18:49:27 +02:00
select.h select: add functionality to check socket state 2017-02-07 13:39:00 +01:00
serial.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
signal.h Update doxygen annotations in libosmocore 2016-05-05 18:49:27 +02:00
socket.h socket: Introduce function to obtain socket name 2017-01-27 10:28:58 +01:00
stat_item.h stats: Add OSMO prefix to STAT_ITEM_NOVALUE_ID 2015-12-08 10:33:15 +01:00
statistics.h core/counter: add osmo_counter_dec() 2016-08-30 12:02:58 +02:00
stats.h statsd: Fix compiler warning (int32_t vs. int64_t) 2016-11-11 15:24:24 +01:00
strrb.h sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ 2014-10-26 20:52:25 +01:00
talloc.h remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
timer.h add osmo_gettimeofday as a shim around gettimeofday 2016-09-22 07:18:39 +02:00
timer_compat.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00
utils.h utils.h: #include <stdio.h> as we use fprintf() 2017-01-23 12:20:33 +00:00
write_queue.h include: Switch to #pragma once pattern 2014-06-16 10:17:27 +02:00