RZ

01: // DataRemoteController.hh # the actual synthesize algorithm
02: 
03: #ifndef _DataRemoteController_HH
04: #define _DataRemoteController_HH 1
05: 
06: #include "DemandWrapper.hh"
07: 
08: // ######## ######## ######## ######## ######## ######## ######## ########
09: 
10: // public package variables (read or write once)
11: //   $firstpacketfrom  - (write only) where to resume connection to remote host
12: //   $firstpacketneed  - (write only) whether to immediately retrieve a packet
13: 
14: // public filehandles
15: //   RANGE  - (for private subprocess use only) pipe to retriever process
16: 
17: // public subroutines (other than select loop routines)
18: //   needmore()
19: //   needclose()
20: 
21: namespace DataRemoteController {
22:     extern unsigned int first_packet_from;
23:     extern bool first_packet_need;
24: 
25:     extern struct RZ::Piper RANGE;
26: 
27:     void require(char const volatile *, char volatile *);
28: 
29:     void need_more(void);
30:     void need_close(void);
31: 
32:     bool is_pending(void);
33:     void select_processing(void);
34: }
35: 
36: // ######## ######## ######## ######## ######## ######## ######## ########
37: 
38: // DataRemoteController.hh # the actual synthesize algorithm
39: 
40: #endif