/[rdesktop]/sourceforge.net/trunk/rdesktop/lspci.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/lspci.c

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

revision 1087 by astrand, Fri Mar 10 07:14:30 2006 UTC revision 1372 by jsorg71, Mon Jan 8 04:47:06 2007 UTC
# Line 41  static void lspci_send(const char *outpu Line 41  static void lspci_send(const char *outpu
41    
42    
43  /* Handle one line of output from the lspci subprocess */  /* Handle one line of output from the lspci subprocess */
44  static BOOL  static RD_BOOL
45  handle_child_line(const char *line, void *data)  handle_child_line(const char *line, void *data)
46  {  {
47          const char *val;          const char *val;
# Line 106  handle_child_line(const char *line, void Line 106  handle_child_line(const char *line, void
106    
107    
108  /* Process one line of input from virtual channel */  /* Process one line of input from virtual channel */
109  static BOOL  static RD_BOOL
110  lspci_process_line(const char *line, void *data)  lspci_process_line(const char *line, void *data)
111  {  {
112          char *lspci_command[5] = { "lspci", "-m", "-n", "-v", NULL };          char *lspci_command[5] = { "lspci", "-m", "-n", "-v", NULL };
# Line 148  lspci_process(STREAM s) Line 148  lspci_process(STREAM s)
148  }  }
149    
150  /* Initialize this module: Register the lspci channel */  /* Initialize this module: Register the lspci channel */
151  BOOL  RD_BOOL
152  lspci_init(void)  lspci_init(void)
153  {  {
154          lspci_channel =          lspci_channel =

Legend:
Removed from v.1087  
changed lines
  Added in v.1372

  ViewVC Help
Powered by ViewVC 1.1.26