ratox

FIFO based tox client
git clone git://git.2f30.org/ratox
Log | Files | Refs | README | LICENSE

commit e37560d5c2cf3d0e12192475321410331d618e3f
parent 68aa2354b558665b2f2b816b8ff0e863a6a41db5
Author: z3bra <contactatz3bradotorg>
Date:   Tue,  1 Nov 2016 22:21:04 +0100

Make ToxAV/Tox_Options a struct

Diffstat:
Mratox.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ratox.c b/ratox.c @@ -165,9 +165,9 @@ static TAILQ_HEAD(friendhead, friend) friendhead = TAILQ_HEAD_INITIALIZER(friend static TAILQ_HEAD(reqhead, request) reqhead = TAILQ_HEAD_INITIALIZER(reqhead); static Tox *tox; -static Tox_Options toxopt; +static struct Tox_Options toxopt; -static ToxAv *toxav; +static ToxAV *toxav; static ToxAvCSettings toxavconfig; static int framesize; @@ -182,7 +182,7 @@ static void logmsg(const char *, ...); static int fifoopen(int, struct file); static void fiforeset(int, int *, struct file); static ssize_t fiforead(int, int *, struct file, void *, size_t); -static uint32_t interval(Tox *, ToxAv *); +static uint32_t interval(Tox *, struct ToxAV*); static void cbcallinvite(void *, int32_t, void *); static void cbcallstart(void *, int32_t, void *); static void cbcallterminate(void *, int32_t, void *); @@ -330,7 +330,7 @@ again: } static uint32_t -interval(Tox *m, ToxAv *av) +interval(Tox *m, struct ToxAV*av) { return MIN(tox_do_interval(m), toxav_do_interval(av)); }