Alexandre Ratchov
|
98027ba688
|
use SOCK_CLOEXEC
|
2015-02-16 11:52:36 +01:00 |
|
Alexandre Ratchov
|
b989e17c05
|
don't use openbsd-specific SOCK_CLOEXEC
|
2015-01-18 00:16:36 +01:00 |
|
Alexandre Ratchov
|
debf3b302c
|
stop using param.h, from deraadt@
|
2015-01-18 00:09:04 +01:00 |
|
Alexandre Ratchov
|
b22be8340a
|
log only errors if SNDIO_DEBUG=1
|
2013-12-10 20:14:48 +01:00 |
|
Alexandre Ratchov
|
f4e64d573c
|
spacing
|
2013-11-14 19:34:11 +01:00 |
|
Alexandre Ratchov
|
abfcc198af
|
sync to openbsd
|
2013-11-14 14:07:20 +01:00 |
|
Alexandre Ratchov
|
686dd7065e
|
cleanup namespace
|
2013-11-12 09:49:28 +01:00 |
|
Alexandre Ratchov
|
ca804a9ffe
|
log successful connections if debug enabled
|
2013-03-04 08:59:49 +01:00 |
|
Alexandre Ratchov
|
d6cb8d427d
|
add bits for midi/N style port names
|
2012-11-06 20:52:40 +01:00 |
|
Alexandre Ratchov
|
26bf90b89d
|
use gnu autoconf style HAVE_XXX macros
|
2012-10-29 18:08:36 +01:00 |
|
Alexandre Ratchov
|
ea0d66a62d
|
add explicit flow control in the protocol and use it for both midi and audio
|
2012-10-24 12:45:13 +02:00 |
|
Alexandre Ratchov
|
1247c187a7
|
s/unsigned/unsigned int/g, requested by deraadt
|
2012-04-11 09:21:29 +02:00 |
|
Alexandre Ratchov
|
c8f20fb97f
|
make devnum mandatory
|
2011-11-08 09:32:00 +01:00 |
|
Alexandre Ratchov
|
1d71c4a2fa
|
stop using and duplicating ISSEP() macro
|
2011-11-01 17:30:39 +01:00 |
|
Alexandre Ratchov
|
33d6a705fd
|
factor device name parsing code
|
2011-11-01 16:56:37 +01:00 |
|
Alexandre Ratchov
|
e4ef0dc8d9
|
switch to type@hostname,unit/num.opt device names
|
2011-11-01 13:02:13 +01:00 |
|
Alexandre Ratchov
|
dc2884ed7d
|
Don't attempt to send data not available for sending yet. Analysed
and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
|
2011-10-22 16:29:20 +02:00 |
|
Alexandre Ratchov
|
8c514d82b6
|
remove midicat
|
2011-10-18 00:29:58 +02:00 |
|
Alexandre Ratchov
|
979c909719
|
handle EINTR returned by connect()
|
2011-10-05 13:12:21 +02:00 |
|
Alexandre Ratchov
|
2f94e45ccd
|
add random_bytes() function, used when arc4random() is not available
|
2011-05-23 13:40:50 +02:00 |
|
Alexandre Ratchov
|
8e25c4c95f
|
include "bsd-compat.h" unconditionally
|
2011-05-06 14:11:18 +02:00 |
|
Alexandre Ratchov
|
681cac6593
|
don't read past the cookie end
|
2011-05-06 12:12:25 +02:00 |
|
Alexandre Ratchov
|
7c836dac01
|
move default device handling in backend code
|
2011-05-03 22:07:30 +02:00 |
|
Alexandre Ratchov
|
134bc5d779
|
convert messages headers to network byte order to allow
client and server with different byte orders to work
|
2011-05-01 15:29:56 +02:00 |
|
Alexandre Ratchov
|
32a1e3d36e
|
use TCP_NODELAY
|
2011-04-28 08:10:14 +02:00 |
|
Alexandre Ratchov
|
a583ebc5d9
|
simplify conditionals in aucat_mkcookie()
|
2011-04-28 01:31:15 +02:00 |
|
Alexandre Ratchov
|
d12861225f
|
use mkstemp() and arc4random() to generate cookie
|
2011-04-28 00:15:11 +02:00 |
|
Alexandre Ratchov
|
2e3fe03333
|
test cookie perms
|
2011-04-27 09:45:58 +02:00 |
|
Alexandre Ratchov
|
369b2b9faf
|
unbreak midi
|
2011-04-19 01:52:03 +02:00 |
|
Alexandre Ratchov
|
9c6c106593
|
dont include file.h twice
|
2011-04-18 15:38:48 +02:00 |
|
Alexandre Ratchov
|
3f1215502b
|
add TCP transport
|
2011-04-18 12:14:27 +02:00 |
|
Alexandre Ratchov
|
0663ca6f54
|
use a cookie for authentication
|
2011-04-16 18:30:24 +02:00 |
|
Alexandre Ratchov
|
313ba302a8
|
use common DPRINTF's for audio and midi code
|
2011-04-16 11:12:41 +02:00 |
|
Alexandre Ratchov
|
77a2cf5acb
|
use AMSG_DATA's for midi
|
2011-04-15 18:02:18 +02:00 |
|
Alexandre Ratchov
|
2bfcdf435b
|
add aucat_setfl() to set nbio flag
|
2011-04-12 23:50:05 +02:00 |
|
Alexandre Ratchov
|
93c71ca1df
|
rename STATE_ macros
|
2011-04-12 09:34:22 +02:00 |
|
Alexandre Ratchov
|
936815ff03
|
put aucat protocol client code into a separate file, so it can
be used by both midi and audio backends (and other aucat backends
in the futur)
|
2011-04-12 09:30:40 +02:00 |
|
Alexandre Ratchov
|
2873ad8ad2
|
fix stupid functions names and file names, no binary change
|
2011-03-31 11:52:54 +02:00 |
|
Alexandre Ratchov
|
fa5a65f0d9
|
cleanup modes, no behaviour change
|
2010-09-29 15:54:32 +02:00 |
|
Alexandre Ratchov
|
a17607cf7a
|
add initial alsa support from jakemsr
|
2010-08-19 23:00:06 +02:00 |
|
Alexandre Ratchov
|
f268454989
|
import from OpenBSD
|
2010-08-19 22:38:45 +02:00 |
|