]> git.tuebingen.mpg.de Git - paraslash.git/commit - dccp_send.c
Make senders independent of afs and osl.
authorAndre Noll <maan@systemlinux.org>
Sat, 26 Jul 2014 11:51:35 +0000 (13:51 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 6 Sep 2014 19:21:42 +0000 (21:21 +0200)
commit77d770f7b0930476d95021bd9e6d6007db53d391
treeb2d275cab6ed91f31332ddec54fa56aabfb20d34
parent03849db5d67e1702b1311429966fedd2545512d7
Make senders independent of afs and osl.

Although senders don't know anything about the osl databases of
the audio file selector, all senders currently include afs.h and
osl.h. This is because:

* senders are part of para_server, so they include server.h,

* server.h has an audio_file_data structure embedded in struct
misc_meta_data, so struct audio_file_data must be declared
before server.h is included,

* struct audio_file_data is declared in afs.h,

* afs.h makes use of structures defined in <osl.h>.

This patch moves the declaration of struct audio_file_data from afs.h
to afh.h, which is also included by all senders. This allows to remove
the two include directives for afs.h and osl.h from all three senders.
afh.h
afs.h
dccp_send.c
http_send.c
udp_send.c