/[pengfork]/pengfork/include/p3/p3.h
ViewVC logotype

Diff of /pengfork/include/p3/p3.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by chupa, Mon Sep 9 22:59:42 2002 UTC revision 1.5 by chupa, Wed Sep 11 15:39:32 2002 UTC
# Line 40  struct p3state Line 40  struct p3state
40  #define WINDOW_SIZE 32          /* Packet we can send/receive without ack */  #define WINDOW_SIZE 32          /* Packet we can send/receive without ack */
41  #define WINDOW_HIGH 24          /* when the window is considered near closed */  #define WINDOW_HIGH 24          /* when the window is considered near closed */
42    
43    #define P3_TIMEOUT 5
44    
45  extern struct p3state cli, srv;  extern struct p3state cli, srv;
46  extern window_t wsend, wunack, wnack;  extern window_t wsend, wunack, wnack;
47    
48  void p3_register_to_engine (const access_t * myaccess);  void p3_register_to_engine (const access_t * myaccess);
49    int p3_ready ();
50  void p3_init (buffer_t * bufin, buffer_t * bufout);  void p3_init (buffer_t * bufin, buffer_t * bufout);
51  int p3_want_write(buffer_t * out);  int p3_want_write(buffer_t * out);
52  void p3_recv (buffer_t * bufin);  void p3_recv (buffer_t * bufin);
53    void p3_timeout(buffer_t *bufin, buffer_t *bufout, int timeout);
54    
55  #endif /* __P3_P3_H__ */  #endif /* __P3_P3_H__ */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26