1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

88 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
e228d34ca5 Inline vlc_poll() 2012-01-23 17:23:20 +02:00
KO Myung-Hun
fe7d26efa2 Define IPv6 stuffs required in order to compile on OS/2.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-12-06 22:36:30 +02:00
KO Myung-Hun
66eec16fa2 Add missing getaddrinfo(), freeaddrinfo(), getnameinfo() and gai_strerror() for OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-12-06 16:00:11 +02:00
Jean-Baptiste Kempf
36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont
b278bb8521 vlc_networh.h: close() needs <unistd.h>
Reported-by: Myung-Hun KO <komh78@gmail.com>
2011-11-24 19:36:13 +02:00
Rémi Denis-Courmont
ff96809b40 Make vlc_network.h installable 2011-11-03 20:47:52 +02:00
Rémi Denis-Courmont
5ceabdd8d3 Rewrite inet_pton() and inet_ntop() into compat
This should correct error handling cases.
2011-11-03 20:36:17 +02:00
KO Myung-Hun
f04b841f41 Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-10-10 17:25:24 +03:00
Rémi Denis-Courmont
e2138e80ee Remove redumdant family parameter to net_OpenDgram() 2011-08-22 17:32:00 +03:00
Rémi Denis-Courmont
4dcdc8c402 Big cleanup of TLS interface 2011-07-23 14:52:23 +03:00
Rémi Denis-Courmont
92f1b3aee7 Rename LIBVLC_* function attributes to VLC_* within plugin API 2011-05-07 23:08:28 +03:00
Rémi Denis-Courmont
6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Jean-Baptiste Kempf
831235838f include: code indentation for consistency 2011-01-22 20:59:09 +01:00
Pankaj Yadav
316517befe Disable IPv6 Forcefully on Symbian Port
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-01-22 20:58:24 +01:00
Rémi Denis-Courmont
41e5bcdaf1 Remove unmaintained BeOS support 2010-10-31 13:42:58 +02:00
Rémi Denis-Courmont
bb7ae441f9 net_Listen: pass socket type parameter
We cannot use any random type semantic that we do not know of.
This also works around bugs in deficient getaddrinfo() implementations.
2010-05-05 19:29:57 +03:00
Rémi Denis-Courmont
8abe30826a Remove useless freeaddrinfo wrapper 2010-04-28 23:50:08 +03:00
Rémi Denis-Courmont
95a84cda1e Remove getnameinfo and getaddrinfo wrappers
They weren't thread-safe (and did not support IPv6).
2010-04-28 23:48:30 +03:00
Rémi Denis-Courmont
fa343f78a5 Compile fix 2010-03-31 23:41:55 +03:00
Rémi Denis-Courmont
af64d14a00 Use vlc_accept()
This should also fix the accept4() ENOSYS infinite loop in httpd
pointed out by Aurélion Nephtali.
2010-03-31 19:28:41 +03:00
Rémi Denis-Courmont
6bf374569a net_Printf: automagic cast to VLC object 2010-02-07 13:33:50 +02:00
Rémi Denis-Courmont
9242bbe164 net: remove leading underscores 2010-02-07 13:33:50 +02:00
Rémi Denis-Courmont
2e49a0b392 Move vlc_inet_pton, vlc_inet_ntop and vlc_poll to vlc_fixups.h 2009-12-15 16:42:33 +02:00
Rémi Denis-Courmont
84e1b303e3 net_Accept: remove timeout parameter
Only the RC interface still used it, and it was not really needed
(net_Accept() returns -1 when the object is killed).
2009-10-05 18:43:26 +03:00
Rémi Denis-Courmont
15c3e9e9e7 Remove unused vlc_(send|recv)msg 2009-04-12 12:51:21 +03:00
Rémi Denis-Courmont
77a5fef919 net_Read, net_Write use void pointer for data 2008-10-12 15:05:59 +03:00
Rémi Denis-Courmont
8c95245b03 net_Accept: -1 (infinite) delay is valid 2008-09-07 12:59:14 +03:00
Rémi Denis-Courmont
e516ddb1ca Rework delay checking, use it for net_Accept, add deadline checks 2008-09-07 12:09:18 +03:00
Jean-Paul Saman
ebd800345f Add a bunch of \file doxygen comments 2008-08-13 22:22:58 +08:00
Pierre d'Herbemont
909417ea28 vlc_network: vlc_poll is always exported. Don't put it behind an ifdef. 2008-08-13 00:57:27 +02:00
Rémi Denis-Courmont
c0f4bfc5d8 Headers: use non-reserved identifiers for multi-inclusion protection 2008-08-11 19:34:48 +03:00
Rémi Denis-Courmont
6625284102 vlc_poll: no conditional symbols
I would rather we move all the replacement functions to a dedicated
static import library (in future versions) though. It kinda sucks to
clutter libvlccore with such symbols.
2008-08-07 22:52:37 +03:00
Derk-Jan Hartman
2d652d01aa Revert "poll(): ifndef HAVE_POLL means we don't use poll(), not that it doesn't exist. In OSX poll() is broken for sockets, so we don't use it. Since poll is a kernel function in OSX however, the kernel implementation was used whenever we used poll(), instead of VLCs private poll() which was the intended behaviour. Renamed poll() to vlc_poll() to prevent this."
This reverts commit d934fc525f.
2008-08-06 18:09:50 +02:00
Derk-Jan Hartman
d934fc525f poll(): ifndef HAVE_POLL means we don't use poll(), not that it doesn't exist. In OSX poll() is broken for sockets, so we don't use it. Since poll is a kernel function in OSX however, the kernel implementation was used whenever we used poll(), instead of VLCs private poll() which was the intended behaviour. Renamed poll() to vlc_poll() to prevent this.
This fixes #1687, receiving SAPs on Mac OS X.
2008-08-06 16:58:02 +02:00
Rémi Denis-Courmont
fbb8255dcf Remove __LIBVLC__ test 2008-06-06 19:07:55 +03:00
Rémi Denis-Courmont
fe1fdaf598 Simplify AI_NUMERICSERV usage 2008-06-01 22:33:27 +03:00
Pierre d'Herbemont
8af4fbace0 vlc_network.h: Define AI_NUMERICSERV if not defined. 2008-05-30 08:55:01 +02:00
Rémi Denis-Courmont
f1e6d5dcf7 Windows does not have AI_NUMERICSERV for some reasons 2008-05-28 19:43:21 +03:00
Pierre d'Herbemont
b5aee88c08 libvlccore: Make sure all symbol listed in libvlccore.sym are exported. 2008-05-27 18:53:25 +02:00
Rémi Denis-Courmont
9d85c35d50 Fix HAVE_ATTRIBUTE_FORMAT usage - refs #297 2008-05-26 19:58:57 +03:00
Rémi Denis-Courmont
0c199e1522 Fix symbols list 2008-05-04 12:12:09 +03:00
Rémi Denis-Courmont
976b9f6dc9 Provide sendmsg and recvmsg replacements 2008-05-03 23:07:15 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Pierre d'Herbemont
d8ae0aacbe vlc_network.h: Prefer to use #ifdef instead of #if for HAVE_ macro. 2008-02-02 18:37:01 +00:00
Rémi Denis-Courmont
9b91b01369 Remove net_AddressIsMulticast:
it did not work properly (proper check is impossible without blocking)
2008-01-24 17:22:50 +00:00
Rémi Denis-Courmont
90d8682114 Remove the sys/socket.h check. We don't really use it anyway, and socket calls have to be somewhere anyway 2008-01-24 17:07:35 +00:00
Rémi Denis-Courmont
7ed683d0c9 Don't work-around would-be bugs in the configure checks. 2008-01-24 17:05:18 +00:00
Rémi Denis-Courmont
cc227c7270 Set non-blocking mode on accepted sockets 2008-01-21 17:12:41 +00:00
Rémi Denis-Courmont
cac92f55e7 Try to fix Win32 linking 2007-12-22 10:09:20 +00:00
Rémi Denis-Courmont
590701d6b3 Remove net_Select. Simplify net_Read consequently. 2007-12-22 10:02:50 +00:00