ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/extras/python/statgrab.pyx
(Generate patch)

Comparing projects/libstatgrab/extras/python/statgrab.pyx (file contents):
Revision 1.6 by tdb, Fri Feb 13 12:03:29 2004 UTC vs.
Revision 1.7 by tdb, Fri Feb 13 17:53:15 2004 UTC

# Line 100 | Line 100 | cdef extern from "statgrab.h":
100          long long rx
101          time_t systime
102  
103 <    ctypedef enum duplex:
103 >    ctypedef enum statgrab_duplex:
104          FULL_DUPLEX
105          HALF_DUPLEX
106 <        NO_DUPLEX
106 >        UNKNOWN_DUPLEX
107  
108      ctypedef struct network_iface_stat_t:
109          char *interface_name
110          int speed
111 <        duplex dup
111 >        statgrab_duplex dup
112  
113      ctypedef struct page_stat_t:
114          long long pages_pagein
# Line 134 | Line 134 | cdef extern from "statgrab.h":
134      cdef extern page_stat_t *get_page_stats_diff()
135      cdef extern int statgrab_init()
136      cdef extern int statgrab_drop_privileges()
137 +
138 +
139 + py_FULL_DUPLEX = FULL_DUPLEX
140 + py_HALF_DUPLEX = HALF_DUPLEX
141 + py_UNKNOWN_DUPLEX = UNKNOWN_DUPLEX
142  
143  
144   class Result:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines