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

Diff of /pengfork/include/access.h

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

revision 1.1 by chupa, Mon Aug 26 12:10:46 2002 UTC revision 1.2 by chupa, Thu Sep 5 23:09:36 2002 UTC
# Line 23  Line 23 
23  #ifndef __ACCESS_H__  #ifndef __ACCESS_H__
24  #define __ACCESS_H__  #define __ACCESS_H__
25    
26  int (*access_connect) (void);  #include "config.h"
27  int (*access_disconnect) (void);  
28  int (*access_is_connected) (void);  typedef struct
29  int (*access_getfd) (void);  {
30      int (*connect) (void);
31      int (*disconnect) (void);
32      int (*is_connected) (void);
33      int *fd;
34    }
35    access_t;
36    
37    extern access_t *haccess;
38    
39    #ifdef WITH_MODEM
40    extern const access_t modem_access;
41    #endif
42    
43    #ifdef WITH_CABLE
44    extern const access_t cable_access;
45    #endif
46    
47  #endif /* __ACCESS_H__ */  #endif /* __ACCESS_H__ */

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

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