/[pupa]/pupa/normal/command.c
ViewVC logotype

Diff of /pupa/normal/command.c

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

revision 1.2 by okuji, Thu Sep 25 20:15:52 2003 UTC revision 1.3 by marco_g, Wed Dec 3 19:17:27 2003 UTC
# Line 1  Line 1 
1  /*  /*
2   *  PUPA  --  Preliminary Universal Programming Architecture for GRUB   *  PUPA  --  Preliminary Universal Programming Architecture for GRUB
3   *  Copyright (C) 2003  Yoshinori K. Okuji <okuji@enbug.org>   *  Copyright (C) 2003  Yoshinori K. Okuji <okuji@enbug.org>
4     *  Copyright (C) 2003  Marco Gerards <metgerards@student.han.nl>.
5   *   *
6   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 96  pupa_command_find (char *cmdline) Line 97  pupa_command_find (char *cmdline)
97  }  }
98    
99  int  int
100    pupa_iterate_commands (int (*iterate) (pupa_command_t))
101    {
102      pupa_command_t cmd;
103      for (cmd = pupa_command_list; cmd; cmd = cmd->next)
104        iterate (cmd);
105      return 0;
106    }
107    
108    int
109  pupa_command_execute (char *cmdline)  pupa_command_execute (char *cmdline)
110  {  {
111    pupa_command_t cmd;    pupa_command_t cmd;

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