Commit Graph

22 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
93c16a0b4e Simplify shutdown() portability 2007-02-26 16:54:05 +00:00
Rémi Denis-Courmont
42388a77bd net_Close() is a one-liner, so inline it 2007-02-26 16:42:53 +00:00
Rémi Denis-Courmont
6f087f5478 Remove net_ReadNonBlock(),
it was merely a slower (and buggier) recv() nowadays.
2007-02-26 16:38:21 +00:00
Rémi Denis-Courmont
f9279bb46d Minor code factorization 2007-02-21 17:42:19 +00:00
Rémi Denis-Courmont
aeb45dfe3b Fix net_Listen linking 2007-02-15 21:11:53 +00:00
Rémi Denis-Courmont
569c1ac494 Suppress timeout parameter from net_Select() - refs #1056.
The only use of the timeout was to poll b_die, but net_ReadInner()
takes care of that already.
2007-02-15 17:17:47 +00:00
Rémi Denis-Courmont
477af15ca7 Use size_t or ssize_t when appropriate 2007-02-15 16:32:53 +00:00
Christophe Mutricy
061b69e72b win32 replacement for inet_ntop() 2007-02-15 15:34:50 +00:00
Rémi Denis-Courmont
9979fb83d4 Single service DCCP/RTP/AVP input 2007-02-14 19:59:54 +00:00
Rémi Denis-Courmont
d9906f4304 Make some room for !TCP connection-oriented protocols 2007-02-14 19:38:57 +00:00
Rémi Denis-Courmont
4abef78f6c Inline net_ListenTCP 2007-02-14 18:43:27 +00:00
Rémi Denis-Courmont
98b1380a07 Cosmetic fix 2007-02-14 16:31:11 +00:00
Rémi Denis-Courmont
2fe4ada36c Export inet_pton replacement 2007-02-12 17:35:07 +00:00
Rémi Denis-Courmont
057e689f92 Fix minor errors 2007-02-12 17:29:51 +00:00
Rémi Denis-Courmont
c0b2d638f8 poll() replacement 2007-02-12 17:27:59 +00:00
Rémi Denis-Courmont
bd205274b1 Remove useless parameter to net_Select 2007-02-11 21:01:47 +00:00
Rémi Denis-Courmont
60a679f5c4 net_SetPort() sets a port within a socket address 2007-02-11 14:47:35 +00:00
Rémi Denis-Courmont
4c858d7e9c net_GetPort() returns network-byte order port number from an address 2007-02-10 12:18:05 +00:00
Rémi Denis-Courmont
2a2b219f75 UDP-Lite access output 2007-02-05 17:21:56 +00:00
Rémi Denis-Courmont
d8ae255f3d UDP-Lite access
This is completely untested because vlc does not link at the moment :(
2007-02-05 16:32:31 +00:00
Clément Stenac
fbf4c8060d A bit of vlc/libvlc cleanup:
* libvlc sources and plugins now define __LIBVLC__ and headers exported to
  plugins (ie, include/vlc_*.h) check for this
* libvlc sources use the value of the "libvlc" component in vlc-config instead
  of vlc
* Apply flags directly to "libvlc" in configure.ac - might temporarily break win32 :)
2006-12-03 13:48:21 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00