aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-17stream: reconfiguration is only required if address and port changePablo Neira Ayuso1-5/+0
No need to force reconfiguration if any of the callback or data pointers are changed.
2011-10-17stream: add osmo_stream_*_conn_recvPablo Neira Ayuso1-49/+52
Like c43bb089067ca05af4992fbafe46827a1f0a6e9b but for stream sockets.
2011-10-17stream: use debug loglevel instead of notice for spamming debug messagePablo Neira Ayuso1-1/+1
2011-10-09stream: add *_get_data() function to obtain private dataPablo Neira Ayuso1-0/+23
Add new functions: osmo_stream_server_link_get_data osmo_stream_server_conn_get_data osmo_stream_client_conn_get_data To obtain private data from osmo_stream_* handlers. This patch also introduces missing osmo_stream_server_conn_set_data.
2011-10-09stream: support calling stream_*_open() multiple times for reconfigurationsPablo Neira Ayuso1-0/+28
This patch allows you to call stream_*_open(..) as many times as you want to trigger reconfigurations.
2011-10-09stream: add osmo_ prefix to all functionsPablo Neira Ayuso1-72/+80
Modify examples as well to use the new API.
2011-10-05stream: remove internal stream_msg_recv()Pablo Neira Ayuso1-14/+2
Remove stream_msg_recv(...), now we use recv(...) directly. This fixes since we were calling msgb_put(...) twice.
2011-10-05stream: remove includes from stream.h headerPablo Neira Ayuso1-0/+1
The should be uses in the client program. They are not required by the generic stream socket infrastructure.
2011-10-04initial commitPablo Neira Ayuso1-0/+484