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

Diff of /pengfork/include/protocol.h

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

revision 1.2 by chupa, Thu Sep 5 23:09:37 2002 UTC revision 1.3 by chupa, Fri Sep 6 23:03:55 2002 UTC
# Line 28  Line 28 
28  #include "config.h"  #include "config.h"
29    
30  #include "buffer.h"  #include "buffer.h"
31    #include "access.h"
32    
33  typedef struct  typedef struct
34  {  {
35    void (*init) (buffer_t *bufin, buffer_t *bufout);    void (*register_to_engine) (const access_t *);
36    void (*loop) (buffer_t *bufin, buffer_t *bufout, int timeout);    void (*put_data) (buffer_t *, char *, size_t);
   void (*put_data) (buffer_t *buffer, char *data, size_t data_size);  
37    size_t max_data;    size_t max_data;
38  }  }
39  protocol_t;  protocol_t;
40    
41  extern protocol_t *protocol;  extern const protocol_t *protocol;
42    
43  #ifdef WITH_P3  #ifdef WITH_P3
44  extern const protocol_t p3_protocol;  extern const protocol_t p3_protocol;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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