File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / include / iosignal.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 5 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    1: #if !defined _ntp_iosignaled_h
    2: #define _ntp_iosignaled_h
    3: 
    4: #include "ntp_refclock.h"
    5: 
    6: #if defined(HAVE_SIGNALED_IO)
    7: extern void		block_sigio	(void);
    8: extern void		unblock_sigio	(void);
    9: extern int		init_clock_sig	(struct refclockio *);
   10: extern void		init_socket_sig	(int);
   11: extern void		set_signal	(void);
   12: RETSIGTYPE		sigio_handler	(int);
   13: 
   14: # define BLOCKIO()	block_sigio()
   15: # define UNBLOCKIO()	unblock_sigio()
   16: 
   17: #else
   18: 
   19: # define BLOCKIO()
   20: # define UNBLOCKIO()
   21: #endif /* HAVE_SIGNALED_IO */
   22: 
   23: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>