Annotation of embedaddon/ntp/include/iosignal.h, revision 1.1.1.1

1.1       misho       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>